vfp-1.c: no large negative offsets on Thumb2.
authorIan Bolton <ian.bolton@arm.com>
Thu, 4 Aug 2011 10:50:02 +0000 (10:50 +0000)
committerIan Bolton <ibolton@gcc.gnu.org>
Thu, 4 Aug 2011 10:50:02 +0000 (10:50 +0000)
testsuite/
* gcc.target/arm/vfp-1.c: no large negative offsets on Thumb2.

From-SVN: r177357

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/vfp-1.c

index 9565b3e4cfcbd0b0e6e45090fddb3e3f0e377f99..d1d45698917d755261cbb9b7ffbafa21eb18fe9c 100644 (file)
@@ -1,3 +1,7 @@
+2011-08-04  Ian Bolton  <ian.bolton@arm.com>
+
+       * gcc.target/arm/vfp-1.c: no large negative offsets on Thumb2.
+
 2011-08-04  Jakub Jelinek  <jakub@redhat.com>
 
        PR middle-end/49905
index a020622070f5e1a04b5d3f68c28a60de8275225e..d455ea42fea01d0815f4048208f204d07b458c91 100644 (file)
@@ -127,13 +127,13 @@ void test_convert () {
 
 void test_ldst (float f[], double d[]) {
   /* { dg-final { scan-assembler "flds.+ \\\[r0, #1020\\\]" } } */
-  /* { dg-final { scan-assembler "flds.+ \\\[r0, #-1020\\\]" } } */
+  /* { dg-final { scan-assembler "flds.+ \\\[r\[0-9\], #-1020\\\]" { target { arm32 && { ! arm_thumb2_ok } } } } } */
   /* { dg-final { scan-assembler "add.+ r0, #1024" } } */
-  /* { dg-final { scan-assembler "fsts.+ \\\[r0, #0\\\]\n" } } */
+  /* { dg-final { scan-assembler "fsts.+ \\\[r\[0-9\], #0\\\]\n" } } */
   f[256] = f[255] + f[-255];
 
   /* { dg-final { scan-assembler "fldd.+ \\\[r1, #1016\\\]" } } */
-  /* { dg-final { scan-assembler "fldd.+ \\\[r1, #-1016\\\]" } } */
+  /* { dg-final { scan-assembler "fldd.+ \\\[r\[1-9\], #-1016\\\]" { target { arm32 && { ! arm_thumb2_ok } } } } } */
   /* { dg-final { scan-assembler "fstd.+ \\\[r1, #256\\\]" } } */
   d[32] = d[127] + d[-127];
 }