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

amonakov at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Dec 7 15:33:00 GMT 2018


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

Alexander Monakov <amonakov at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amonakov at gcc dot gnu.org

--- Comment #2 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
It's possible to change signed comparison to unsigned by rotating integer
domain by half, i.e.

  foo(a, b) == bar(a^0x80000000, b^0x80000000)

but this increases register pressure if a and b are not dead after the
comparison.


More information about the Gcc-bugs mailing list