mips-ps-5.c: Add alignment attributes.

gcc/testsuite/
	* gcc.target/mips/mips-ps-5.c: Add alignment attributes.
	* gcc.target/mips/mips-ps-7.c: Likewise.

From-SVN: r203871
This commit is contained in:
Richard Sandiford 2013-10-20 07:21:00 +00:00 committed by Richard Sandiford
parent 0f37323cc3
commit fac129d88e
3 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,8 @@
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> 2013-10-20 Richard Sandiford <rdsandiford@googlemail.com>
* gcc.target/mips/bswap-1.c, gcc.target/mips/bswap-2.c, * gcc.target/mips/bswap-1.c, gcc.target/mips/bswap-2.c,

View File

@ -2,7 +2,9 @@
/* { dg-options "-mpaired-single -mgp64 -ftree-vectorize" } */ /* { dg-options "-mpaired-single -mgp64 -ftree-vectorize" } */
/* { dg-skip-if "requires vectorization" { *-*-* } { "-O0" "-Os" } { "" } } */ /* { 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 NOMIPS16 void
foo (void) foo (void)

View File

@ -3,7 +3,9 @@
/* { dg-options "-mgp32 -mpaired-single -ftree-vectorize" } */ /* { dg-options "-mgp32 -mpaired-single -ftree-vectorize" } */
/* { dg-skip-if "requires vectorization" { *-*-* } { "-O0" "-Os" } { "" } } */ /* { 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 NOMIPS16 void
foo (void) foo (void)