diff options
author | Richard Earnshaw <rearnsha@arm.com> | 2023-11-06 13:54:37 +0000 |
---|---|---|
committer | Richard Earnshaw <rearnsha@arm.com> | 2023-11-13 14:15:56 +0000 |
commit | 929dc1f10d2478348cb015d7f19a5396946d54d9 (patch) | |
tree | a2b0549f43b49c070abd9f8e91a412f1c67ac2fc /gcc | |
parent | ea36e391e8f7b14cc3e2987182e004d4454903ce (diff) | |
download | gcc-929dc1f10d2478348cb015d7f19a5396946d54d9.zip gcc-929dc1f10d2478348cb015d7f19a5396946d54d9.tar.gz gcc-929dc1f10d2478348cb015d7f19a5396946d54d9.tar.bz2 |
arm: testsuite: modernize framework usage for arm/scd42-2.c
Make this test more useful by using dg-require-effective-target/
dg-add-options.
gcc/testsuite:
* gcc.target/arm/scd42-2.c: Use modern dg- flags.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/gcc.target/arm/scd42-2.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/gcc/testsuite/gcc.target/arm/scd42-2.c b/gcc/testsuite/gcc.target/arm/scd42-2.c index 3c9768d..cd41688 100644 --- a/gcc/testsuite/gcc.target/arm/scd42-2.c +++ b/gcc/testsuite/gcc.target/arm/scd42-2.c @@ -1,11 +1,8 @@ /* Verify that mov is preferred on XScale for loading a 2 byte constant. */ /* { dg-do compile } */ -/* { dg-skip-if "Test is specific to the Xscale" { arm*-*-* } { "-march=*" } { "-march=xscale" } } */ -/* { dg-skip-if "Test is specific to the Xscale" { arm*-*-* } { "-mcpu=*" } { "-mcpu=xscale" } } */ -/* { dg-skip-if "Test is specific to ARM mode" { arm*-*-* } { "-mthumb" } { "" } } */ -/* { dg-require-effective-target arm32 } */ -/* { dg-require-effective-target arm_arch_v5te_arm_ok } */ -/* { dg-options "-mcpu=xscale -O -marm" } */ +/* { dg-require-effective-target arm_arch_xscale_arm_ok } */ +/* { dg-options "-O" } */ +/* { dg-add-options arm_arch_xscale_arm } */ unsigned load2(void) __attribute__ ((naked)); unsigned load2(void) |