On 28 May 2012 22:55, Matt Turner <matts...@gmail.com> wrote: > On Thu, Apr 5, 2012 at 4:53 AM, Ramana Radhakrishnan > <ramana.radhakrish...@linaro.org> wrote: >> On 4 April 2012 19:35, Matt Turner <matts...@gmail.com> wrote: >>> gcc/testsuite/gcc.target/arm/mmx-2.c | 158 >>> ++++++++++++++++++++++++++++++++++ >>> 1 files changed, 158 insertions(+), 0 deletions(-) >>> create mode 100644 gcc/testsuite/gcc.target/arm/mmx-2.c >>> >>> diff --git a/gcc/testsuite/gcc.target/arm/mmx-2.c >>> b/gcc/testsuite/gcc.target/arm/mmx-2.c >>> new file mode 100644 >>> index 0000000..603a63b >>> --- /dev/null >>> +++ b/gcc/testsuite/gcc.target/arm/mmx-2.c >>> @@ -0,0 +1,158 @@ >>> +/* { dg-do compile } */ >>> +/* { dg-skip-if "Test is specific to the iWMMXt" { arm*-*-* } { "-mcpu=*" >>> } { "-mcpu=iwmmxt" } } */ >>> +/* { dg-skip-if "Test is specific to the iWMMXt" { arm*-*-* } { "-mabi=*" >>> } { "-mabi=iwmmxt" } } */ >>> +/* { dg-skip-if "Test is specific to the iWMMXt" { arm*-*-* } { "-march=*" >>> } { "-march=iwmmxt" } } */ >>> +/* { dg-skip-if "Test is specific to ARM mode" { arm*-*-* } { "-mthumb" } >>> { "" } } */ >> >> How about simplifying this with a dg-require-effective-target >> arm_arm_ok instead of doing >> dg-require-effective-target arm32 and then skipping it for Thumb2 ? > > I might not understand properly, but couldn't I just do this? > > /* { dg-require-effective-target arm_iwmmxt_ok } */ >
Yes that should also work. Ok if it works. Ramana > Thanks, > Matt