S/390: Move and rename vector check.
authorAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Fri, 24 Mar 2017 13:57:58 +0000 (13:57 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Fri, 24 Mar 2017 13:57:58 +0000 (13:57 +0000)
commitb5de6e84a5c2ad730e1a4c198d0082682f86403b
tree86a36ddb3c5492310472e4afcd763788233ecad2
parent590961cff2aefdba30048ac5edd228f19114e72c
S/390: Move and rename vector check.

Move the target support routine for the vector facility to the common
code file.  This is required to enable the generic vectorization tests
on S/390.  While doing this the too generic name for the check (vector)
is changed to s390_vx.  The renaming required to modify all the
testcases currently using that check.

gcc/testsuite/ChangeLog:

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

* gcc.target/s390/s390.exp (check_effective_target_vector):
Include target-supports.exp and move target_vector check routine
...
* lib/target-supports.exp (check_effective_target_s390_vx): ... to
here and rename it.
* gcc.target/s390/htm-builtins-z13-1.c: Rename effective target
check from vector to s390_vx.
* gcc.target/s390/target-attribute/tpragma-struct-vx-1.c: Likewise.
* gcc.target/s390/target-attribute/tpragma-struct-vx-2.c: Likewise.
* gcc.target/s390/vector/stpcpy-1.c: Likewise.
* gcc.target/s390/vector/vec-abi-vararg-1.c: Likewise.
* gcc.target/s390/vector/vec-clobber-1.c: Likewise.
* gcc.target/s390/vector/vec-genbytemask-1.c: Likewise.
* gcc.target/s390/vector/vec-genmask-1.c: Likewise.
* gcc.target/s390/vector/vec-nopeel-1.c: Likewise.
* gcc.target/s390/vector/vec-vrepi-1.c: Likewise.

From-SVN: r246449
13 files changed:
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/s390/htm-builtins-z13-1.c
gcc/testsuite/gcc.target/s390/s390.exp
gcc/testsuite/gcc.target/s390/target-attribute/tpragma-struct-vx-1.c
gcc/testsuite/gcc.target/s390/target-attribute/tpragma-struct-vx-2.c
gcc/testsuite/gcc.target/s390/vector/stpcpy-1.c
gcc/testsuite/gcc.target/s390/vector/vec-abi-vararg-1.c
gcc/testsuite/gcc.target/s390/vector/vec-clobber-1.c
gcc/testsuite/gcc.target/s390/vector/vec-genbytemask-1.c
gcc/testsuite/gcc.target/s390/vector/vec-genmask-1.c
gcc/testsuite/gcc.target/s390/vector/vec-nopeel-1.c
gcc/testsuite/gcc.target/s390/vector/vec-vrepi-1.c
gcc/testsuite/lib/target-supports.exp