re PR target/92549 (Use x86 xchg instruction more)
authorJakub Jelinek <jakub@redhat.com>
Tue, 19 Nov 2019 09:31:59 +0000 (10:31 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 19 Nov 2019 09:31:59 +0000 (10:31 +0100)
commit63b887119024128efaeb122193c935397c2572e9
treee81c2ec143652cdfe8583b8a1b11117e6fdd01b4
parentbeeac4c2716e5873648c67f71ba810cc02f7f8a8
re PR target/92549 (Use x86 xchg instruction more)

PR target/92549
* config/i386/i386.md (peephole2 for *swap<mode>): New peephole2.

* gcc.target/i386/pr92549.c: New test.

From-SVN: r278439
gcc/ChangeLog
gcc/config/i386/i386.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr92549.c [new file with mode: 0644]