re PR target/32433 (Code for __builtin_ffs does not benefit from compiler optimizations)
authorUros Bizjak <ubizjak@gmail.com>
Sat, 30 Jun 2007 17:05:49 +0000 (19:05 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Sat, 30 Jun 2007 17:05:49 +0000 (19:05 +0200)
commit08024fb5840bf2e207cf804f41ec153be3582b24
tree00ebcd28a0bca3236e8f4cc175bfc54d09015f2b
parenteb2c598d55a057229ec9bf731fe41a4d8e7ba708
re PR target/32433 (Code for __builtin_ffs does not benefit from compiler optimizations)

        PR target/32433
        * config/i386/i386.md (ffssi2): Expand as ffs_cmove for TARGET_CMOVE.
        (ffs_cmove): New expander to expand using ctz pattern.
        (*ffs_cmove): Remove pattern.
        (*ffs_no_cmove): Enable only for !TARGET_CMOVE.
        (ffsdi2): Expand using ctz pattern.
        (*ffs_rex64): Remove pattern.

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