S/390: Further bswap enhancements.
authorAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Wed, 2 Dec 2015 07:49:47 +0000 (07:49 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Wed, 2 Dec 2015 07:49:47 +0000 (07:49 +0000)
commit6f5a59d1d1a4a602ef5fbd581be09dff976cabdf
tree4bae0577f34b971793cdf8decc06252acdb068f6
parenta233c891443cf038d305c3cfe36e95506ae1c228
S/390: Further bswap enhancements.

gcc/ChangeLog:

2015-12-02  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

* config/s390/s390.md ("bswap<mode>2"): Add support for strv and
strvg.
("bswaphi2"): New pattern.
New splitter for HI reg-reg bswap.

gcc/testsuite/ChangeLog:

2015-12-02  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

* gcc.target/s390/bswap-1.c (foo64c, foo32a, foo32c): New functions.
* gcc.target/s390/bswaphi-1.c: New test.

From-SVN: r231152
gcc/ChangeLog
gcc/config/s390/s390.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/s390/bswap-1.c
gcc/testsuite/gcc.target/s390/bswaphi-1.c [new file with mode: 0644]