]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR target/53399 ("*ffs" pattern generates wrong code with BMI enabled)
authorUros Bizjak <uros@gcc.gnu.org>
Mon, 21 May 2012 15:46:25 +0000 (17:46 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Mon, 21 May 2012 15:46:25 +0000 (17:46 +0200)
commit89ac11d833317faa6c74bee89ddbe18ae93fe272
treec9d5c232390be3b1203c79f171d2c205e2aa3cd9
parent94ccc95d412bb6a8765737ad153a780bc03d6294
re PR target/53399 ("*ffs" pattern generates wrong code with BMI enabled)

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.

From-SVN: r187722
gcc/ChangeLog
gcc/config/i386/i386.md