rs6000: Fix the vec-adde* testcases once more
authorSegher Boessenkool <segher@kernel.crashing.org>
Tue, 14 Feb 2017 20:27:54 +0000 (21:27 +0100)
committerSegher Boessenkool <segher@gcc.gnu.org>
Tue, 14 Feb 2017 20:27:54 +0000 (21:27 +0100)
commit2932fe90d51b39404bd0b564415b6f5149f10f9b
treea83ab7846aff243b52c0e795dcabcd96eb5abd22
parent622f6b642a6c90720becec67d63a7b2f9e40a675
rs6000: Fix the vec-adde* testcases once more

David found the vec-adde{,c}-int128.c testcases fail on AIX.  Those
tests should only run on targets that have int128.

This also changes the non-int128 testcases to check for the hardware
they require.

gcc/testsuite/
* gcc.target/powerpc/vec-adde-int128.c: Only run if int128 exists.
* gcc.target/powerpc/vec-addec-int128.c: Ditto.
* gcc.target/powerpc/vec-adde.c: Require vsx_hw, don't require a
64-bit default target.
* gcc.target/powerpc/vec-addec.c: Require p8vector_hw, don't require
a 64-bit default target.

From-SVN: r245453
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/vec-adde-int128.c
gcc/testsuite/gcc.target/powerpc/vec-adde.c
gcc/testsuite/gcc.target/powerpc/vec-addec-int128.c
gcc/testsuite/gcc.target/powerpc/vec-addec.c