]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite: Simplify target test and dg-options for AMO tests
authorJeevitha <jeevitha@linux.ibm.com>
Wed, 8 Jan 2025 07:03:12 +0000 (01:03 -0600)
committerJeevitha <jeevitha@linux.ibm.com>
Wed, 8 Jan 2025 07:03:12 +0000 (01:03 -0600)
commit51708cbd751e3af0d147ceae4da5c74dae1519ce
tree0a2680d31c06099913298971931615cc5cdf4b0d
parent814cbfc91a3c9f4286d13d04075287f6dac76e74
testsuite: Simplify target test and dg-options for AMO tests

Removed powerpc*-*-* from the target test as it is always true. Simplified
options by removing -mpower9-misc and -mvsx, which are enabled by default with
-mdejagnu-cpu=power9. The has_arch_pwr9 check is also true with
-mdejagnu-cpu=power9, so it has been removed.

2025-01-08 Jeevitha Palanisamy <jeevitha@linux.ibm.com>

gcc/testsuite/

* gcc.target/powerpc/amo1.c: Removed powerpc*-*-* from the target and
simplified dg-options.
* gcc.target/powerpc/amo2.c: Simplified dg-options and added powerpc_vsx
target check.
gcc/testsuite/gcc.target/powerpc/amo1.c
gcc/testsuite/gcc.target/powerpc/amo2.c