testsuite: powerpc fold-vec and sse updates.
authorDavid Edelsohn <dje.gcc@gmail.com>
Mon, 18 Jan 2021 00:33:04 +0000 (19:33 -0500)
committerDavid Edelsohn <dje.gcc@gmail.com>
Mon, 18 Jan 2021 04:59:26 +0000 (23:59 -0500)
commit994fb69ac1b7d52348e84a021c07b24e285294d0
tree428d9db77c326fc904d3c1f2f204166f640109d3
parent4905f4040182b631a0918bb9cdb841520a9fd1de
testsuite: powerpc fold-vec and sse updates.

Recent code generation changes have affected the count of some instructions.
This patch updates the instruction count for fold-vec-extract on P7 and P8.

Also, some of SSE emulation intrinsics only work on LE systems.

gcc/testsuite/ChangeLog:

* gcc.target/powerpc/fold-vec-extract-char.p7.c: Adjust addi count.
* gcc.target/powerpc/fold-vec-extract-double.p7.c: Same.
* gcc.target/powerpc/fold-vec-extract-float.p7.c: Same.
* gcc.target/powerpc/fold-vec-extract-float.p8.c: Same.
* gcc.target/powerpc/fold-vec-extract-int.p7.c: Same.
* gcc.target/powerpc/fold-vec-extract-int.p8.c: Same.
* gcc.target/powerpc/fold-vec-extract-short.p7.c: Same.
* gcc.target/powerpc/fold-vec-extract-short.p8.c: Same.
* gcc.target/powerpc/sse-andnps-1.c: Restrict to LE.
* gcc.target/powerpc/sse-movhps-1.c: Restrict to LE.
* gcc.target/powerpc/sse-movlps-1.c: Restrict to LE.
* gcc.target/powerpc/sse2-andnpd-1.c: Restrict to LE.
12 files changed:
gcc/testsuite/gcc.target/powerpc/fold-vec-extract-char.p7.c
gcc/testsuite/gcc.target/powerpc/fold-vec-extract-double.p7.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-int.p7.c
gcc/testsuite/gcc.target/powerpc/fold-vec-extract-int.p8.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/sse-andnps-1.c
gcc/testsuite/gcc.target/powerpc/sse-movhps-1.c
gcc/testsuite/gcc.target/powerpc/sse-movlps-1.c
gcc/testsuite/gcc.target/powerpc/sse2-andnpd-1.c