S/390: z13 fix mode in vcond expansion
authorAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Fri, 19 Feb 2016 10:34:12 +0000 (10:34 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Fri, 19 Feb 2016 10:34:12 +0000 (10:34 +0000)
commitd0a859e621fad9894d5d29b8afd639d777c0626a
treedde2741f8e23153d07cb53d29cbbdc1540978313
parent9e4eb6439435259b7cf5c7e2ea39d402f8028c7c
S/390: z13 fix mode in vcond expansion

For floating point vector compares the target mode is an integer mode
which accidently was used as register mode when forcing the compare
operands into regs.

gcc/ChangeLog:

* config/s390/s390.c (s390_expand_vcond): Use the compare operand
mode.

gcc/testsuite/ChangeLog:

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

From-SVN: r233552
gcc/ChangeLog
gcc/config/s390/s390.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/s390/vector/vec-vcond-1.c [new file with mode: 0644]