From b5fc646f63abcf71788c3afe1b1d5a03856f8984 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Fri, 13 Sep 2002 18:33:34 +0000 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.c-torture/execute/simd-1.c | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 2fa75d3..b4ed1eb 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 a93a619..e103fd7 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 -- 2.7.4