re PR target/65871 (bzhi builtin/intrinsic wrongly assumes bzhi instruction doesn...
authorUros Bizjak <ubizjak@gmail.com>
Wed, 29 Apr 2015 20:58:25 +0000 (22:58 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Wed, 29 Apr 2015 20:58:25 +0000 (22:58 +0200)
commitec4c68c8d01d99d2d818496be7db5fe939b6a674
tree8ad54ca6c0726a88af895221f33a0b6fc7107f25
parent9f7fb685d9173285be6507805ced732d360c09be
re PR target/65871 (bzhi builtin/intrinsic wrongly assumes bzhi instruction doesn't set the ZF flag)

PR target/65871
        * config/i386/i386.md (*bmi_bextr_<mode>_cczonly): New pattern.
        (*bmi2_bzhi_<mode>3_1_cczonly): Ditto.
        (setcc+movzbl peephole2): Check also clobbered reg.
        (setcc+andl peephole2): Ditto.

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