diff options
author | Aaron Sawdey <acsawdey@linux.ibm.com> | 2020-07-10 17:46:17 -0500 |
---|---|---|
committer | Aaron Sawdey <acsawdey@linux.ibm.com> | 2020-07-13 15:17:38 -0500 |
commit | 305ab735bd40b52a451851fa6e2177f184eb05d4 (patch) | |
tree | e987a6b897fd9d35d6dc39b3f50c966b300e354d /gcc/omp-expand.c | |
parent | 9cba898481368ce16c6a2d30ef781a82dce27c55 (diff) | |
download | gcc-305ab735bd40b52a451851fa6e2177f184eb05d4.zip gcc-305ab735bd40b52a451851fa6e2177f184eb05d4.tar.gz gcc-305ab735bd40b52a451851fa6e2177f184eb05d4.tar.bz2 |
rs6000: add effective-target test ppc_mma_hw
Add a test for dejagnu to determine if execution of MMA instructions is
supported in the test environment. Add an execution test to make sure
that __builtin_cpu_supports("mma") is true if we can execute MMA
instructions.
gcc/testsuite/
* lib/target-supports.exp (check_ppc_mma_hw_available):
New function.
(is-effective-target): Add ppc_mma_hw.
(is-effective-target-keyword): Add ppc_mma_hw.
* gcc.target/powerpc/mma-supported.c: New file.
* gcc.target/powerpc/mma-single-test.c: Require ppc_mma_hw.
* gcc.target/powerpc/mma-double-test.c: Require ppc_mma_hw.
Diffstat (limited to 'gcc/omp-expand.c')
0 files changed, 0 insertions, 0 deletions