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

2021-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83123 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

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

2021-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83123 --- Comment #3 from Andrew Pinski --- This is now optimized at the gimple level to just: _7 = a_3(D) & b_4(D); _8 = _7 < 0;

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

2021-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83123 Andrew Pinski changed: What|Removed |Added Known to fail||10.3.0 Known to work|

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

2017-11-23 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83123 --- Comment #2 from Segher Boessenkool --- 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

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

2017-11-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83123 Richard Biener changed: What|Removed |Added Keywords||missed-optimization