S/390: Simplify vector conditionals
authorRobin Dapp <rdapp@linux.vnet.ibm.com>
Fri, 18 Dec 2015 09:50:02 +0000 (09:50 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Fri, 18 Dec 2015 09:50:02 +0000 (09:50 +0000)
commitd958ae79c55057f140801c78e0e0ed4361ef2821
tree75fe343aca7ef7d2afb1fc0e29d11310d7ba6091
parent332477628507525e3f252183a864d74bddb5c77f
S/390: Simplify vector conditionals

gcc/ChangeLog:

2015-12-18  Robin Dapp  <rdapp@linux.vnet.ibm.com>

* config/s390/s390.c (s390_expand_vcond): Convert vector
conditional into shift.
* config/s390/vector.md: Change operand predicate.

gcc/testsuite/ChangeLog:

2015-12-18  Robin Dapp  <rdapp@linux.vnet.ibm.com>

* gcc.target/s390/vcond-shift.c: New test to check vcond
simplification.

From-SVN: r231808
gcc/ChangeLog
gcc/config/s390/s390.c
gcc/config/s390/vector.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/s390/vcond-shift.c [new file with mode: 0644]