S/390: z13 Change predicates of 128 bit add sub.
authorAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Fri, 19 Feb 2016 10:37:19 +0000 (10:37 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Fri, 19 Feb 2016 10:37:19 +0000 (10:37 +0000)
commit6448f0645b918b340f8b01c60b10af8409c51b56
tree2d37927338dd278f44747b6341b38d70a4dbce4a
parentece33b1b76e5de7fd5c305bf602702f42f1e8bb7
S/390: z13 Change predicates of 128 bit add sub.

So far usage of 128 bit add/sub instruction was rejected if the second
operand was a constant because the predicate rejected this.

gcc/testsuite/ChangeLog:

* gcc.target/s390/vector/int128-1.c: New test.

gcc/ChangeLog:

* config/s390/vector.md ("<ti*>add<mode>3", "<ti*>sub<mode>3"):
Change the predicate of op2 from nonimmediate to general and let
reload fix it if necessary.

From-SVN: r233554
gcc/ChangeLog
gcc/config/s390/vector.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/s390/vector/int128-1.c [new file with mode: 0644]