Commit 0c619666 by Paolo Bonzini Committed by Paolo Bonzini

altivec-6.c: Use vector_size attribute, not mode.

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
parent 7e463bda
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> 2004-03-19 Giovanni Bajo <giovannibajo@gcc.gnu.org>
PR c++/14545 PR c++/14545
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
/* These denote "generic" GCC vectors. */ /* 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 int i,j;
static vector signed short s,t; static vector signed short s,t;
......
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
/* Testcase to check for ABI compliance of parameter passing /* Testcase to check for ABI compliance of parameter passing
for the PowerPC64 ABI. */ for the PowerPC64 ABI. */
typedef int __attribute__((mode(V4SI))) v4si; typedef int __attribute__((vector_size(16))) v4si;
typedef int __attribute__((mode(V2SI))) v2si; typedef int __attribute__((vector_size(8))) v2si;
v4si v4si
f(v4si v) f(v4si v)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment