Skip to content
Snippets Groups Projects
Commit 929dc1f1 authored by Richard Earnshaw's avatar Richard Earnshaw
Browse files

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.
parent ea36e391
No related branches found
No related tags found
No related merge requests found
/* Verify that mov is preferred on XScale for loading a 2 byte constant. */ /* Verify that mov is preferred on XScale for loading a 2 byte constant. */
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-skip-if "Test is specific to the Xscale" { arm*-*-* } { "-march=*" } { "-march=xscale" } } */ /* { dg-require-effective-target arm_arch_xscale_arm_ok } */
/* { dg-skip-if "Test is specific to the Xscale" { arm*-*-* } { "-mcpu=*" } { "-mcpu=xscale" } } */ /* { dg-options "-O" } */
/* { dg-skip-if "Test is specific to ARM mode" { arm*-*-* } { "-mthumb" } { "" } } */ /* { dg-add-options arm_arch_xscale_arm } */
/* { dg-require-effective-target arm32 } */
/* { dg-require-effective-target arm_arch_v5te_arm_ok } */
/* { dg-options "-mcpu=xscale -O -marm" } */
unsigned load2(void) __attribute__ ((naked)); unsigned load2(void) __attribute__ ((naked));
unsigned load2(void) unsigned load2(void)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment