diff options
author | Janis Johnson <janisjo@codesourcery.com> | 2011-06-22 20:29:53 +0000 |
---|---|---|
committer | Janis Johnson <janis@gcc.gnu.org> | 2011-06-22 20:29:53 +0000 |
commit | 7d059f1894e61304a172cfcb37ee6d92a0227ba9 (patch) | |
tree | 279be2330bc39296fccb844cd1d6eb9ba6241e8c /gcc | |
parent | ba16e766145f235ca71208a66770f70afa220eff (diff) | |
download | gcc-7d059f1894e61304a172cfcb37ee6d92a0227ba9.zip gcc-7d059f1894e61304a172cfcb37ee6d92a0227ba9.tar.gz gcc-7d059f1894e61304a172cfcb37ee6d92a0227ba9.tar.bz2 |
scd42-3.c: Allow -march-xscale; skip if -mcpu is not xscale.
* gcc.target/arm/scd42-3.c: Allow -march-xscale; skip if -mcpu
is not xscale.
From-SVN: r175312
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/arm/scd42-3.c | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 8bb44b1..691f088 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,8 @@ 2011-06-22 Janis Johnson <janisjo@codesourcery.com> + * gcc.target/arm/scd42-3.c: Allow -march-xscale; skip if -mcpu + is not xscale. + * gcc.target/arm/thumb-bitfld1.c: Don't specify -march, require thumb1. * gcc.target/arm/ctz.c: Don't specify -march, require thumb2. diff --git a/gcc/testsuite/gcc.target/arm/scd42-3.c b/gcc/testsuite/gcc.target/arm/scd42-3.c index d1d07b0..eb90e43 100644 --- a/gcc/testsuite/gcc.target/arm/scd42-3.c +++ b/gcc/testsuite/gcc.target/arm/scd42-3.c @@ -1,6 +1,7 @@ /* Verify that ldr is preferred on XScale for loading a 3 or 4 byte constant. */ /* { dg-do compile } */ -/* { dg-skip-if "incompatible options" { arm*-*-* } { "-march=*" } { "" } } */ +/* { dg-skip-if "Test is specific to Xscale" { arm*-*-* } { "-march=*" } { "-march=xscale" } } */ +/* { dg-skip-if "Test is specific to Xscale" { arm*-*-* } { "-mcpu=*" } { "-mcpu=xscale" } } */ /* { dg-options "-mcpu=xscale -O" } */ unsigned load4(void) __attribute__ ((naked)); |