arm-g2.c, [...]: Skip if the multilib testing specifies -march that does not agree...
authorKazu Hirata <kazu@codesourcery.com>
Wed, 13 Aug 2008 23:21:12 +0000 (23:21 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Wed, 13 Aug 2008 23:21:12 +0000 (23:21 +0000)
* gcc.dg/arm-g2.c, gcc.dg/arm-mmx-1.c, gcc.dg/arm-scd42-2.c:
Skip if the multilib testing specifies -march that does not
agree with the one specified in the testcase.

From-SVN: r139086

gcc/ChangeLog
gcc/testsuite/gcc.dg/arm-g2.c
gcc/testsuite/gcc.dg/arm-mmx-1.c
gcc/testsuite/gcc.dg/arm-scd42-2.c

index f49b916..2b4062a 100644 (file)
@@ -1,3 +1,9 @@
+2008-08-13  Kazu Hirata  <kazu@codesourcery.com>
+
+       * gcc.dg/arm-g2.c, gcc.dg/arm-mmx-1.c, gcc.dg/arm-scd42-2.c:
+       Skip if the multilib testing specifies -march that does not
+       agree with the one specified in the testcase.
+
 2008-08-13  Joseph Myers  <joseph@codesourcery.com>
 
        * config/sparc/sparc.c (emit_soft_tfmode_cvt): Explicitly sign or
index a15b280..031b936 100644 (file)
@@ -1,6 +1,7 @@
 /* Verify that hardware multiply is preferred on XScale. */
 /* { dg-do compile } */
 /* { dg-options "-mcpu=xscale -O2" } */
+/* { dg-skip-if "Test is specific to the Xscale" { arm*-*-* } { "-march=*" } { "-march=xscale" } } */
 /* { dg-require-effective-target arm32 } */
 
 /* Brett Gaines' test case. */
index e4535ee..21cc479 100644 (file)
@@ -1,8 +1,11 @@
 /* Verify that if IP is saved to ensure stack alignment, we don't load
    it into sp.  */
 /* { 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*-*-* } { "-mfloat-abi=softfp" } { "" } } */
+/* { dg-skip-if "Test is specific to the iWMMXt" { arm*-*-* } { "-march=*" } { "-march=iwmmxt" } } */
 /* { dg-options "-O -mno-apcs-frame -mcpu=iwmmxt -mabi=iwmmxt" } */
-/* { dg-skip-if "" { *-*-* } { "-mfloat-abi=softfp" } { "" } } */
 /* { dg-require-effective-target arm32 } */
 /* { dg-final { scan-assembler "ldmfd\[        ]sp!.*ip,\[ ]*pc" } } */
 
index 1c257c1..0c37298 100644 (file)
@@ -1,6 +1,7 @@
 /* Verify that mov is preferred on XScale for loading a 2 byte constant. */
 /* { dg-do compile } */
 /* { dg-options "-mcpu=xscale -O" } */
+/* { dg-skip-if "Test is specific to the Xscale" { arm*-*-* } { "-march=*" } { "-march=xscale" } } */
 /* { dg-require-effective-target arm32 } */
 
 unsigned load2(void) __attribute__ ((naked));