This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/29776] result of ffs/clz/ctz/popcount/parity are already sign-extended
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 24 Dec 2011 06:46:16 +0000
- Subject: [Bug target/29776] result of ffs/clz/ctz/popcount/parity are already sign-extended
- Auto-submitted: auto-generated
- References: <bug-29776-4@http.gcc.gnu.org/bugzilla/>
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.