S/390: Mode attrs "bitoff[_plus]" simplify risbg instructions.
authorDominik Vogt <vogt@linux.vnet.ibm.com>
Fri, 23 Sep 2016 09:44:15 +0000 (09:44 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Fri, 23 Sep 2016 09:44:15 +0000 (09:44 +0000)
commit576987fc74c419bdee0e287eb5352fd1f725ea2f
tree1099f207faaf8da54dc03e8415f82c3de5863f5d
parent199d1d488f5de5c940f9010a9fdfd1e4d1f24fe1
S/390: Mode attrs "bitoff[_plus]" simplify risbg instructions.

Add a new mode attribute to simplify some instruction patterns.

gcc/ChangeLog:

2016-09-23  Dominik Vogt  <vogt@linux.vnet.ibm.com>

* config/s390/s390.md (bitoff, bitoff_plus): Neq mode attributes.
("*extzv<mode>_zEC12", "*insv<mode>_zEC12", "*insv<mode>_z10")
("*insv<mode>_zEC12_appendbitsleft")
("*insv<mode>_z10_appendbitsleft", "*r<noxa>sbg_<mode>_sll")
("*r<noxa>sbg_<mode>_srl"): Use new attributes.

gcc/testsuite/ChangeLog:

2016-09-23  Dominik Vogt  <vogt@linux.vnet.ibm.com>

* gcc.target/s390/md/rXsbg_mode_sXl.c: Adapt expected assembly
output to the simplified instructions.

From-SVN: r240409
gcc/ChangeLog
gcc/config/s390/s390.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/s390/md/rXsbg_mode_sXl.c