rs6000: Add execution tests for mma builtins [v4]
authorAaron Sawdey <acsawdey@linux.ibm.com>
Tue, 30 Jun 2020 19:26:26 +0000 (14:26 -0500)
committerAaron Sawdey <acsawdey@linux.ibm.com>
Fri, 10 Jul 2020 21:10:39 +0000 (16:10 -0500)
commited1d3639e42dccc9372f11c6231c3ffe0589fd1c
tree5dd07335c4964a2a444d709e5dba15ac2bc16ccc
parent5ada27f8e0ca6e3d780a54fcb92b2ac647d38627
rs6000: Add execution tests for mma builtins [v4]

This patch adds execution tests that use the MMA builtins and
check for the right answer, and new tests that checks whether
__builtin_cpu_supports and __builtin_cpu_is return sane
answers for power10.

2020-06-30  Rajalakshmi Srinivasaraghavan  <rajis@linux.vnet.ibm.com>
    Aaron Sawdey  <acsawdey@linux.ibm.com>

gcc/testsuite/
* gcc.target/powerpc/p10-identify.c: New file.
* gcc.target/powerpc/p10-arch31.c: New file.
* gcc.target/powerpc/mma-single-test.c: New file.
* gcc.target/powerpc/mma-double-test.c: New file.
gcc/testsuite/gcc.target/powerpc/mma-double-test.c [new file with mode: 0755]
gcc/testsuite/gcc.target/powerpc/mma-single-test.c [new file with mode: 0755]
gcc/testsuite/gcc.target/powerpc/p10-arch31.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/p10-identify.c [new file with mode: 0644]