[Bug target/88402] inefficient code generation for mask from CC

amonakov at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Dec 9 19:35:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88402

--- Comment #4 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
(In reply to Alexander Monakov from comment #3)
> But unfortunately today we don't manage to use the cmp-sbb trick for
> unsigned comparison against an immediate, i.e. for
> 
> unsigned long baz (unsigned int a)
> {
>   return a < 123 ? -1ul : 0;
> }

It's probably more appropriate to discuss this aspect separately: PR 88425.


More information about the Gcc-bugs mailing list