diff options
| -rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/testsuite/gcc.target/mips/mips-ps-5.c | 4 | ||||
| -rw-r--r-- | gcc/testsuite/gcc.target/mips/mips-ps-7.c | 4 |
3 files changed, 11 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ac6691c..64d56a0 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,10 @@ 2013-10-20 Richard Sandiford <rdsandiford@googlemail.com> + * gcc.target/mips/mips-ps-5.c: Add alignment attributes. + * gcc.target/mips/mips-ps-7.c: Likewise. + +2013-10-20 Richard Sandiford <rdsandiford@googlemail.com> + * gcc.target/mips/bswap-1.c, gcc.target/mips/bswap-2.c, gcc.target/mips/bswap-3.c, gcc.target/mips/bswap-4.c, gcc.target/mips/bswap-5.c, gcc.target/mips/bswap-6.c: New tests. diff --git a/gcc/testsuite/gcc.target/mips/mips-ps-5.c b/gcc/testsuite/gcc.target/mips/mips-ps-5.c index 6bf908e..077076f 100644 --- a/gcc/testsuite/gcc.target/mips/mips-ps-5.c +++ b/gcc/testsuite/gcc.target/mips/mips-ps-5.c @@ -2,7 +2,9 @@ /* { dg-options "-mpaired-single -mgp64 -ftree-vectorize" } */ /* { dg-skip-if "requires vectorization" { *-*-* } { "-O0" "-Os" } { "" } } */ -extern float a[], b[], c[]; +extern float a[] __attribute__ ((aligned (8))); +extern float b[] __attribute__ ((aligned (8))); +extern float c[] __attribute__ ((aligned (8))); NOMIPS16 void foo (void) diff --git a/gcc/testsuite/gcc.target/mips/mips-ps-7.c b/gcc/testsuite/gcc.target/mips/mips-ps-7.c index 35d25fdc..3b4e530 100644 --- a/gcc/testsuite/gcc.target/mips/mips-ps-7.c +++ b/gcc/testsuite/gcc.target/mips/mips-ps-7.c @@ -3,7 +3,9 @@ /* { dg-options "-mgp32 -mpaired-single -ftree-vectorize" } */ /* { dg-skip-if "requires vectorization" { *-*-* } { "-O0" "-Os" } { "" } } */ -extern float a[], b[], c[]; +extern float a[] __attribute__ ((aligned (8))); +extern float b[] __attribute__ ((aligned (8))); +extern float c[] __attribute__ ((aligned (8))); NOMIPS16 void foo (void) |
