[Bug target/29776] result of ffs/clz/ctz/popcount/parity are already sign-extended
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Dec 24 08:01:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29776
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |missed-optimization
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011-12-24
Ever Confirmed|0 |1
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-12-24 06:46:16 UTC ---
Trying 9 -> 10:
Failed to match this instruction:
(set (reg:DI 69 [ D.1710 ])
(sign_extend:DI (ctz:SI (reg:SI 67 [ x ]))))
Should be changed to zero_extend and then that could be matched really.
More information about the Gcc-bugs
mailing list