This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/53399] "*ffs" pattern generates wrong code with BMI enabled
- From: "hjl.tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 20 May 2012 16:18:25 +0000
- Subject: [Bug target/53399] "*ffs" pattern generates wrong code with BMI enabled
- Auto-submitted: auto-generated
- References: <bug-53399-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53399
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|"*ffs" pattern generates |"*ffs" pattern generates
|wrong code with BMI enabled |wrong code with BMI enabled
|(for corner cases) |
--- Comment #8 from H.J. Lu <hjl.tools at gmail dot com> 2012-05-20 16:18:25 UTC ---
BSF and tzcnt are different with zero input.
BSF sets ZF with zero input and tzcnt set CF
with zero input.