vfp-1.c: no large negative offsets on Thumb2.

testsuite/
	* gcc.target/arm/vfp-1.c: no large negative offsets on Thumb2.

From-SVN: r177357
This commit is contained in:
Ian Bolton 2011-08-04 10:50:02 +00:00 committed by Ian Bolton
parent 2598ee6d90
commit b9e357d27e
2 changed files with 7 additions and 3 deletions

View 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

View 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];
}