re PR target/82580 (Optimize comparisons for __int128 on x86-64)
authorJakub Jelinek <jakub@redhat.com>
Thu, 19 Oct 2017 08:37:04 +0000 (10:37 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 19 Oct 2017 08:37:04 +0000 (10:37 +0200)
commit1855f812512d84eca88c51c1ceac0045bc95ad5e
treee4479516274dc8ab14def1e71fba5b975ba80468
parent8a78f1a1b6bc31b0897107bd32cc8cffa3187070
re PR target/82580 (Optimize comparisons for __int128 on x86-64)

PR target/82580
* config/i386/i386.md (setcc + movzbl to xor + setcc): New peephole2.
(setcc + and to xor + setcc): New peephole2.

* gcc.target/i386/pr82580.c: Use {\msbb} instead of "sbb" in
scan-assembler-times.  Check that there are no movzb* instructions
if lp64.

From-SVN: r253884
gcc/ChangeLog
gcc/config/i386/i386.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr82580.c