[Bug rtl-optimization/48064] Optimizer produces suboptimal code for e.g. x = x ^ (x >> 1)
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Dec 25 04:47:47 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48064
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target|windows 32 |i686-*-* x86_64-*-*
Severity|normal |enhancement
Status|UNCONFIRMED |NEW
Keywords| |ra
Ever confirmed|0 |1
Last reconfirmed| |2021-12-25
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed, it looks like a register allocation issue. Though I don't know how
much it matters these days with some register renaming and mov instructions
becoming issue latency of 0.
More information about the Gcc-bugs
mailing list