altivec-6.c: Use vector_size attribute, not mode.
authorPaolo Bonzini <bonzini@gnu.org>
Fri, 19 Mar 2004 13:18:13 +0000 (13:18 +0000)
committerPaolo Bonzini <bonzini@gcc.gnu.org>
Fri, 19 Mar 2004 13:18:13 +0000 (13:18 +0000)
2004-03-19  Paolo Bonzini  <bonzini@gnu.org>

* gcc.dg/altivec-6.c: Use vector_size attribute, not mode.
* gcc.dg/ppc64-abi-3.c: Likewise.

From-SVN: r79682

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/altivec-6.c
gcc/testsuite/gcc.dg/ppc64-abi-3.c

index 7ae25a39be68a0c7257f5d0d6cae26effad55f67..362359e7a8f8927012fe14f4a57f0864992d917e 100644 (file)
@@ -1,3 +1,8 @@
+2004-03-19  Paolo Bonzini  <bonzini@gnu.org>
+
+       * gcc.dg/altivec-6.c: Use vector_size attribute, not mode.
+       * gcc.dg/ppc64-abi-3.c: Likewise.
+
 2004-03-19  Giovanni Bajo  <giovannibajo@gcc.gnu.org>
 
        PR c++/14545
index 85e597fabe30e40b35122e91f096c392b494cc75..71d8ea381617b69848e320ef30a417b8dad08a27 100644 (file)
@@ -3,7 +3,7 @@
 
 
 /* These denote "generic" GCC vectors.  */
-static int __attribute__((mode(V4SI))) x, y;
+static int __attribute__((vector_size(16))) x, y;
 
 static vector signed int i,j;
 static vector signed short s,t;
index 58f161dae6c6050c33f1074fa295839972758087..a1262f2860de9b62ad656aa4cef1b4f489573568 100644 (file)
@@ -3,8 +3,8 @@
 /* Testcase to check for ABI compliance of parameter passing
    for the PowerPC64 ABI.  */
 
-typedef int __attribute__((mode(V4SI))) v4si;
-typedef int __attribute__((mode(V2SI))) v2si;
+typedef int __attribute__((vector_size(16))) v4si;
+typedef int __attribute__((vector_size(8))) v2si;
 
 v4si 
 f(v4si v)