S/390: arch12: Support the mul/add/subtract
authorAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Fri, 24 Mar 2017 14:02:51 +0000 (14:02 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Fri, 24 Mar 2017 14:02:51 +0000 (14:02 +0000)
commit7d2fd07577b71f2ef3143ffb80ca6223d06dd396
tree217b4dc533b71b6448217a070b52dd70fae644eb
parent2841f5506729cb4b445a8460499a6976cddf52da
S/390: arch12: Support the mul/add/subtract
 instructions.

gcc/ChangeLog:

2017-03-24  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

* config/s390/s390.md ("*adddi3_sign", "*subdi3_sign", "mulditi3")
("mulditi3_2", "*muldi3_sign"): New patterns.
("muldi3", "*muldi3", "mulsi3", "*mulsi3"): Add an expander and
rename the pattern definition.

gcc/testsuite/ChangeLog:

2017-03-24  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

* gcc.target/s390/arch12/aghsghmgh-1.c: New test.
* gcc.target/s390/arch12/mul-1.c: New test.
* gcc.target/s390/arch12/mul-2.c: New test.

From-SVN: r246457
gcc/ChangeLog
gcc/config/s390/s390.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/s390/arch12/aghsghmgh-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/s390/arch12/mul-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/s390/arch12/mul-2.c [new file with mode: 0644]