From: Rask Ingemann Lambertsen Date: Wed, 29 Aug 2007 10:56:21 +0000 (+0200) Subject: simd-1.c: Use SImode vector elements. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d2b9afb12104e09bd382b6b5f4cbfecc11983629;p=gcc.git 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 256d1504850..213b073c9db 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2007-08-29 Rask Ingemann Lambertsen + + * gcc.c-torture/execute/simd-1.c: Use SImode vector elements. + * gcc.c-torture/execute/pr23135.c: Likewise. + 2007-08-29 Uros Bizjak * gcc.dg/pr31344.c: Move to ... diff --git a/gcc/testsuite/gcc.c-torture/execute/pr23135.c b/gcc/testsuite/gcc.c-torture/execute/pr23135.c index a96f0a77a89..57b5f7cfa6c 100644 --- a/gcc/testsuite/gcc.c-torture/execute/pr23135.c +++ b/gcc/testsuite/gcc.c-torture/execute/pr23135.c @@ -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 }; diff --git a/gcc/testsuite/gcc.c-torture/execute/simd-1.c b/gcc/testsuite/gcc.c-torture/execute/simd-1.c index df9f1a90798..97d82069764 100644 --- a/gcc/testsuite/gcc.c-torture/execute/simd-1.c +++ b/gcc/testsuite/gcc.c-torture/execute/simd-1.c @@ -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 };