i386.md (bswaphi2): New expander.
authorUros Bizjak <uros@gcc.gnu.org>
Mon, 20 Nov 2017 19:52:14 +0000 (20:52 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Mon, 20 Nov 2017 19:52:14 +0000 (20:52 +0100)
commit121075d7601b521973522cce134567beb0c913bb
tree13999dbb8d9dde6155bbfa0707f25258a840b4cd
parent6017b8f0cfadaad21ceaf8c58f940cbc118f1a17
i386.md (bswaphi2): New expander.

* config/i386/i386.md (bswaphi2): New expander.
(*bswaphi2_movbe): New insn pattern.
(bswaphi -> rorhi pepehole2): New peephole pattern.

testsuite/ChangeLog:

* gcc.target/i386/movbe-5.c: New test.

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