This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/81300] -fpeephole2 breaks __builtin_ia32_sbb_u64, _subborrow_u64 on AMD64


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81300

--- Comment #2 from uros at gcc dot gnu.org ---
Author: uros
Date: Tue Jul  4 20:52:32 2017
New Revision: 249977

URL: https://gcc.gnu.org/viewcvs?rev=249977&root=gcc&view=rev
Log:
2017-07-04  Uros Bizjak  <ubizjak@gmail.com>

        PR target/81300
        * config/i386/i386.md (setcc + movzbl/and to xor + setcc peepholes):
        Require dead FLAGS_REG at the beginning of a peephole.

testsuite/ChangeLog:

        PR target/81300
        * gcc.target/i386/pr81300.c: New test.


Added:
    trunk/gcc/testsuite/gcc.target/i386/pr81300.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.md
    trunk/gcc/testsuite/ChangeLog

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]