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
This commit is contained in:
Janis Johnson 2011-06-22 20:29:53 +00:00 committed by Janis Johnson
parent ba16e76614
commit 7d059f1894
2 changed files with 5 additions and 1 deletions

View file

@ -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.

View file

@ -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));