[Bug rtl-optimization/83123] Int compare - different asm code for different return type

segher at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Nov 23 17:34:00 GMT 2017


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

--- Comment #2 from Segher Boessenkool <segher at gcc dot gnu.org> ---
In the first case (with the extend to SImode) the extend is combined
with the AND, to an AND in SImode.  After that, the 3-insn combination
of the two shifts with the AND is something combine knows how to split.

In the second case this of course does not happen.


More information about the Gcc-bugs mailing list