[Bug target/53399] "*ffs" pattern generates wrong code with BMI enabled
uros at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon May 21 15:48:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53399
--- Comment #12 from uros at gcc dot gnu.org 2012-05-21 15:46:34 UTC ---
Author: uros
Date: Mon May 21 15:46:25 2012
New Revision: 187722
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187722
Log:
PR target/53399
* config/i386/i386.md (ffs<mode>2): Generate CCCmode compare
for TARGET_BMI.
(ffssi2_no_cmove): Ditto.
(*ffs<mode>_1): Remove insn pattern.
(*tzcnt<mode>_1): New insn pattern.
(*bsf<mode>1): Ditto.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.md
More information about the Gcc-bugs
mailing list