simd-1.c: Use SImode vector elements.

* gcc.c-torture/execute/simd-1.c: Use SImode vector elements.
	* gcc.c-torture/execute/pr23135.c: Likewise.

From-SVN: r127894
This commit is contained in:
Rask Ingemann Lambertsen 2007-08-29 12:56:21 +02:00 committed by Rask Ingemann Lambertsen
parent a80f0e5b94
commit d2b9afb121
3 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2007-08-29 Rask Ingemann Lambertsen <rask@sygehus.dk>
* gcc.c-torture/execute/simd-1.c: Use SImode vector elements.
* gcc.c-torture/execute/pr23135.c: Likewise.
2007-08-29 Uros Bizjak <ubizjak@gmail.com>
* gcc.dg/pr31344.c: Move to ...

View file

@ -7,7 +7,7 @@
typedef struct { char c[STACK_SIZE/2]; } big_t;
typedef int __attribute__((vector_size (8))) vecint;
typedef int __attribute__((mode(SI))) __attribute__((vector_size (8))) vecint;
typedef int __attribute__((mode(SI))) siint;
vecint i = { 150, 100 };

View file

@ -4,7 +4,7 @@
regardless of if the target has SIMD instructions.
*/
typedef int __attribute__((vector_size (16))) vecint;
typedef int __attribute__((mode(SI))) __attribute__((vector_size (16))) vecint;
typedef int __attribute__((mode(SI))) siint;
vecint i = { 150, 100, 150, 200 };