* gcc.dg/arm-mmx-1.c: Don't look for ldmfd if -mthumb.
authorIan Lance Taylor <ian@wasabisystems.com>
Wed, 4 Feb 2004 13:43:43 +0000 (13:43 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 4 Feb 2004 13:43:43 +0000 (13:43 +0000)
From-SVN: r77249

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/arm-mmx-1.c

index 7286a0f..28dc9cf 100644 (file)
@@ -1,3 +1,7 @@
+2004-02-04  Ian Lance Taylor  <ian@wasabisystems.com>
+
+       * gcc.dg/arm-mmx-1.c: Don't look for ldmfd if -mthumb.
+
 2004-02-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * objc.dg/encode-2.m, objc.dg/encode-3.m, objc.dg/encode-4.m: Fix
index 4f95d8d..aaceb33 100644 (file)
@@ -2,7 +2,7 @@
    it into sp.  */
 /* { dg-do compile { target arm*-*-* strongarm*-*-* xscale*-*-*} } */
 /* { dg-options "-O -mno-apcs-frame -mcpu=iwmmxt" } */
-/* { dg-final { scan-assembler "ldmfd\[        ]sp!.*ip,\[ ]*pc" } } */
+/* { dg-final { global compiler_flags; if ![string match "*-mthumb *" $compiler_flags] { scan-assembler "ldmfd\[       ]sp!.*ip,\[ ]*pc" } } } */
 
 /* This function uses all the call-saved registers, namely r4, r5, r6,
    r7, r8, r9, sl, fp.  Since we also save pc, that leaves an odd