Commit 7d059f18 by Janis Johnson Committed by Janis Johnson

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
parent ba16e766
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.
......
/* 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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment