rs6000: testsuite: Fix vec-adde[c]-int128.c
authorSegher Boessenkool <segher@kernel.crashing.org>
Mon, 13 Feb 2017 16:51:25 +0000 (17:51 +0100)
committerSegher Boessenkool <segher@gcc.gnu.org>
Mon, 13 Feb 2017 16:51:25 +0000 (17:51 +0100)
commitefb802cbcaf3ef148534622847a700e470de7c52
tree69db1c9022604e3eef6eb0d574437243aee8ce6e
parent30956ccc55a43c2fa3af40ef9a0f6de8b68fd3dd
rs6000: testsuite: Fix vec-adde[c]-int128.c

These are a runtime testcases so they should test p8vector_hw instead of
powerpc_p8vector_ok, or they will fail with an illegal instruction on
older processors.

Also they run on any PowerPC, not with just those compilers that were
configured to default to 64-bit targets.

gcc/testsuite/
* gcc.target/powerpc/vec-adde-int128.c: Use p8vector_hw instead of
powerpc_p8vector_ok.
* gcc.target/powerpc/vec-addec-int128.c: Ditto.

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