Skip to content
Snippets Groups Projects
Commit 08024fb5 authored by Uros Bizjak's avatar Uros Bizjak Committed by Uros Bizjak
Browse files

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
parent eb2c598d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment