From: Kazu Hirata Date: Fri, 13 Sep 2002 18:33:34 +0000 (+0000) Subject: simd-1.c: Force all use of int to 32-bit int. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b5fc646f63abcf71788c3afe1b1d5a03856f8984;p=gcc.git simd-1.c: Force all use of int to 32-bit int. * gcc.c-torture/execute/simd-1.c: Force all use of int to 32-bit int. From-SVN: r57116 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 2fa75d3c13b..b4ed1eb7ca5 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2002-09-13 Kazu Hirata + + * gcc.c-torture/execute/simd-1.c: Force all use of int to + 32-bit int. + 2002-09-10 John David Anglin * gcc.dg/struct-ret-1.c: Add prototype for exit function and correct diff --git a/gcc/testsuite/gcc.c-torture/execute/simd-1.c b/gcc/testsuite/gcc.c-torture/execute/simd-1.c index a93a6191cd1..e103fd7244a 100644 --- a/gcc/testsuite/gcc.c-torture/execute/simd-1.c +++ b/gcc/testsuite/gcc.c-torture/execute/simd-1.c @@ -5,6 +5,7 @@ */ typedef int __attribute__((mode(V4SI))) vecint; +typedef int __attribute__((mode(SI))) siint; vecint i = { 150, 100, 150, 200 }; vecint j = { 10, 13, 20, 30 }; @@ -12,13 +13,13 @@ vecint k; union { vecint v; - int i[4]; + siint i[4]; } res; /* This should go away once we can use == and != on vector types. */ void -verify (int a1, int a2, int a3, int a4, - int b1, int b2, int b3, int b4) +verify (siint a1, siint a2, siint a3, siint a4, + siint b1, siint b2, siint b3, siint b4) { if (a1 != b1 || a2 != b2