testsuite: Enable and adjust powerpc fold-vec-extract/insert testcases.
authorDavid Edelsohn <dje.gcc@gmail.com>
Mon, 19 Oct 2020 13:50:44 +0000 (09:50 -0400)
committerDavid Edelsohn <dje.gcc@gmail.com>
Mon, 19 Oct 2020 19:54:31 +0000 (15:54 -0400)
commitbadeac77f55276d047b3cc202e4ddd49ba643d8a
treea8dc14ead0b5d3f199d69db2bd6319d3d5246c1a
parentb003c4b14b3f889e6707db68d2c6545eda7a203b
testsuite: Enable and adjust powerpc fold-vec-extract/insert testcases.

This patch enables a number of testcases on non-Linux targets, adjusts
the target requirements, and updates the expected results.

gcc/testsuite/ChangeLog:

* gcc.target/powerpc/fold-vec-extract-char.p7.c: Remove target.
* gcc.target/powerpc/fold-vec-extract-char.p8.c: Remove target.
* gcc.target/powerpc/fold-vec-extract-char.p9.c: Remove target.
Expect 3 addi for ilp32.
* gcc.target/powerpc/fold-vec-extract-double.p7.c: Remove target.
Add -mbig-endian for Linux.
* gcc.target/powerpc/fold-vec-extract-double.p8.c: Remove target.
* gcc.target/powerpc/fold-vec-extract-float.p7.c: Remove target.
* gcc.target/powerpc/fold-vec-extract-float.p8.c: Remove target.
* gcc.target/powerpc/fold-vec-extract-float.p9.c: Require lp64.
* gcc.target/powerpc/fold-vec-extract-int.p7.c: Remove target.
* gcc.target/powerpc/fold-vec-extract-int.p8.c: Remove target.
* gcc.target/powerpc/fold-vec-extract-int.p9.c: Remove target.
Expect 3 addi for ilp32.
* gcc.target/powerpc/fold-vec-extract-longlong.p7.c: Remove target.
Expect 4 addi for ilp32.
* gcc.target/powerpc/fold-vec-extract-longlong.p8.c: Remove target.
Expect 4 addi for ilp32.
* gcc.target/powerpc/fold-vec-extract-longlong.p9.c: Require lp64.
* gcc.target/powerpc/fold-vec-extract-short.p7.c: Remove target.
* gcc.target/powerpc/fold-vec-extract-short.p8.c: Remove target.
* gcc.target/powerpc/fold-vec-extract-short.p9.c: Require lp64.
* gcc.target/powerpc/fold-vec-insert-char-p8.c: Remove target.
* gcc.target/powerpc/fold-vec-insert-char-p9.c: Remove target.
* gcc.target/powerpc/fold-vec-insert-double.c: Remove target.
* gcc.target/powerpc/fold-vec-insert-float-p8.c: Remove target.
* gcc.target/powerpc/fold-vec-insert-float-p9.c: Remove target.
* gcc.target/powerpc/fold-vec-insert-int-p8.c: Remove target.
* gcc.target/powerpc/fold-vec-insert-int-p9.c: Remove target.
Require 8 addi for ilp32.
* gcc.target/powerpc/fold-vec-insert-longlong.c: Remove target.
* gcc.target/powerpc/fold-vec-insert-short-p8.c: Remove target.
* gcc.target/powerpc/fold-vec-insert-short-p9.c: Remove target.
* gcc.target/powerpc/fold-vec-select-double.c: Remove target.
* gcc.target/powerpc/fold-vec-select-float.c: Remove target.
* gcc.target/powerpc/fold-vec-splats-int.c: Require lp64.
* gcc.target/powerpc/fold-vec-splats-longlong.c: Require lp64.
31 files changed:
gcc/testsuite/gcc.target/powerpc/fold-vec-extract-char.p7.c
gcc/testsuite/gcc.target/powerpc/fold-vec-extract-char.p8.c
gcc/testsuite/gcc.target/powerpc/fold-vec-extract-char.p9.c
gcc/testsuite/gcc.target/powerpc/fold-vec-extract-double.p7.c
gcc/testsuite/gcc.target/powerpc/fold-vec-extract-double.p8.c
gcc/testsuite/gcc.target/powerpc/fold-vec-extract-float.p7.c
gcc/testsuite/gcc.target/powerpc/fold-vec-extract-float.p8.c
gcc/testsuite/gcc.target/powerpc/fold-vec-extract-float.p9.c
gcc/testsuite/gcc.target/powerpc/fold-vec-extract-int.p7.c
gcc/testsuite/gcc.target/powerpc/fold-vec-extract-int.p8.c
gcc/testsuite/gcc.target/powerpc/fold-vec-extract-int.p9.c
gcc/testsuite/gcc.target/powerpc/fold-vec-extract-longlong.p7.c
gcc/testsuite/gcc.target/powerpc/fold-vec-extract-longlong.p8.c
gcc/testsuite/gcc.target/powerpc/fold-vec-extract-longlong.p9.c
gcc/testsuite/gcc.target/powerpc/fold-vec-extract-short.p7.c
gcc/testsuite/gcc.target/powerpc/fold-vec-extract-short.p8.c
gcc/testsuite/gcc.target/powerpc/fold-vec-extract-short.p9.c
gcc/testsuite/gcc.target/powerpc/fold-vec-insert-char-p8.c
gcc/testsuite/gcc.target/powerpc/fold-vec-insert-char-p9.c
gcc/testsuite/gcc.target/powerpc/fold-vec-insert-double.c
gcc/testsuite/gcc.target/powerpc/fold-vec-insert-float-p8.c
gcc/testsuite/gcc.target/powerpc/fold-vec-insert-float-p9.c
gcc/testsuite/gcc.target/powerpc/fold-vec-insert-int-p8.c
gcc/testsuite/gcc.target/powerpc/fold-vec-insert-int-p9.c
gcc/testsuite/gcc.target/powerpc/fold-vec-insert-longlong.c
gcc/testsuite/gcc.target/powerpc/fold-vec-insert-short-p8.c
gcc/testsuite/gcc.target/powerpc/fold-vec-insert-short-p9.c
gcc/testsuite/gcc.target/powerpc/fold-vec-select-double.c
gcc/testsuite/gcc.target/powerpc/fold-vec-select-float.c
gcc/testsuite/gcc.target/powerpc/fold-vec-splats-int.c
gcc/testsuite/gcc.target/powerpc/fold-vec-splats-longlong.c