[rs6000] Add tests for compatible implementations of x86 SSSE3 intrinsics
authorPaul A. Clarke <pc@us.ibm.com>
Fri, 26 Oct 2018 19:02:23 +0000 (19:02 +0000)
committerPaul Clarke <pc@gcc.gnu.org>
Fri, 26 Oct 2018 19:02:23 +0000 (19:02 +0000)
commitf5c2ba6d689cf6735cc9dfabaaa76fb68662b57f
treef01e3ee635b5821e50c720994200826cbc2f204b
parentb1ddadacb897251343102842dbb9ce97d0bae73c
[rs6000] Add tests for compatible implementations of x86 SSSE3 intrinsics

This is part 2/2 for contributing PPC64LE support for X86 SSSE3 instrisics.
This patch includes testsuite/gcc.target tests, copied from gcc.target/i386,
for the intrinsics defined in tmmintrin.h.

[gcc/testsuite]

2018-10-26  Paul A. Clarke  <pc@us.ibm.com>

* gcc.target/powerpc/ssse3-check.h: New file.
* gcc.target/powerpc/ssse3-vals.h: New file.
* gcc.target/powerpc/ssse3-pabsb.c: New file.
* gcc.target/powerpc/ssse3-pabsd.c: New file.
* gcc.target/powerpc/ssse3-pabsw.c: New file.
* gcc.target/powerpc/ssse3-palignr.c: New file.
* gcc.target/powerpc/ssse3-phaddd.c: New file.
* gcc.target/powerpc/ssse3-phaddsw.c: New file.
* gcc.target/powerpc/ssse3-phaddw.c: New file.
* gcc.target/powerpc/ssse3-phsubd.c: New file.
* gcc.target/powerpc/ssse3-phsubsw.c: New file.
* gcc.target/powerpc/ssse3-phsubw.c: New file.
* gcc.target/powerpc/ssse3-pmaddubsw.c: New file.
* gcc.target/powerpc/ssse3-pmulhrsw.c: New file.
* gcc.target/powerpc/ssse3-pshufb.c: New file.
* gcc.target/powerpc/ssse3-psignb.c: New file.
* gcc.target/powerpc/ssse3-psignd.c: New file.
* gcc.target/powerpc/ssse3-psignw.c: New file.

From-SVN: r265544
19 files changed:
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/ssse3-check.h [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/ssse3-pabsb.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/ssse3-pabsd.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/ssse3-pabsw.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/ssse3-palignr.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/ssse3-phaddd.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/ssse3-phaddsw.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/ssse3-phaddw.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/ssse3-phsubd.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/ssse3-phsubsw.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/ssse3-phsubw.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/ssse3-pmaddubsw.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/ssse3-pmulhrsw.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/ssse3-pshufb.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/ssse3-psignb.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/ssse3-psignd.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/ssse3-psignw.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/ssse3-vals.h [new file with mode: 0644]