testsuite: Enable p9-lxvx-stxvx testcases and fold-vec-extract
authorDavid Edelsohn <dje.gcc@gmail.com>
Wed, 21 Oct 2020 16:24:00 +0000 (12:24 -0400)
committerDavid Edelsohn <dje.gcc@gmail.com>
Wed, 21 Oct 2020 20:17:43 +0000 (16:17 -0400)
commit083c17f86dcf13fc344667432b59c96bf2b63dcb
treed3dc3171f76327306009fbca661da338fbd9ff8b
parent945151b7f14c5d105abd8117f208ae9e3db91fb4
testsuite: Enable p9-lxvx-stxvx testcases and fold-vec-extract

This patch enables the p9-lxvx-stxvx testcases with appropriate
requirements.  It also adjusts the expected matching instructions
in the fold-vec-extract testcases for BE.

gcc/testsuite/ChangeLog:

* gcc.target/powerpc/fold-vec-extract-float.p9.c: rldicl and
subfic only for target LE.
* gcc.target/powerpc/fold-vec-extract-longlong.p9.c: xori only
for target LE.  Adjust mfvsrd and add mfvsrld for BE.
* gcc.target/powerpc/fold-vec-extract-short.p9.c: vextuhrx for LE.
vextuhlx for BE.
* gcc.target/powerpc/p9-lxvx-stxvx-1.c: Remove target.
* gcc.target/powerpc/p9-lxvx-stxvx-2.c: Remove target.
* gcc.target/powerpc/p9-lxvx-stxvx-3.c: Remove target. Require
float128
gcc/testsuite/gcc.target/powerpc/fold-vec-extract-float.p9.c
gcc/testsuite/gcc.target/powerpc/fold-vec-extract-longlong.p9.c
gcc/testsuite/gcc.target/powerpc/fold-vec-extract-short.p9.c
gcc/testsuite/gcc.target/powerpc/p9-lxvx-stxvx-1.c
gcc/testsuite/gcc.target/powerpc/p9-lxvx-stxvx-2.c
gcc/testsuite/gcc.target/powerpc/p9-lxvx-stxvx-3.c