aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2004-12-20 02:55:11 -0800
committerRichard Henderson <rth@gcc.gnu.org>2004-12-20 02:55:11 -0800
commit3336093d34d876ed7d9a04aa598842405d1c8563 (patch)
treec0e4aab53040140b1a249ab2454aeb25b5cc1ee1
parentf45592874280feb8515bfdc75e532ed94e5faf5e (diff)
downloadgcc-3336093d34d876ed7d9a04aa598842405d1c8563.zip
gcc-3336093d34d876ed7d9a04aa598842405d1c8563.tar.gz
gcc-3336093d34d876ed7d9a04aa598842405d1c8563.tar.bz2
emmintrin.h: Use __vector_size__ instead of vector_size.
* config/i386/emmintrin.h: Use __vector_size__ instead of vector_size. * config/i386/mmintrin.h, config/i386/xmmintrin.h: Likewise. From-SVN: r92412
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/i386/emmintrin.h10
-rw-r--r--gcc/config/i386/mmintrin.h8
-rw-r--r--gcc/config/i386/xmmintrin.h4
4 files changed, 16 insertions, 11 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 427aa21..d746ebf 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2004-12-20 Richard Henderson <rth@redhat.com>
+
+ * config/i386/emmintrin.h: Use __vector_size__ instead of vector_size.
+ * config/i386/mmintrin.h, config/i386/xmmintrin.h: Likewise.
+
2004-12-20 Ben Elliston <bje@au.ibm.com>
* doc/md.texi (Expander Definitions): Use @emph instead of @strong
diff --git a/gcc/config/i386/emmintrin.h b/gcc/config/i386/emmintrin.h
index 49f0542..67450e4 100644
--- a/gcc/config/i386/emmintrin.h
+++ b/gcc/config/i386/emmintrin.h
@@ -34,11 +34,11 @@
#include <xmmintrin.h>
/* SSE2 */
-typedef double __v2df __attribute__ ((vector_size (16)));
-typedef long long __v2di __attribute__ ((vector_size (16)));
-typedef int __v4si __attribute__ ((vector_size (16)));
-typedef short __v8hi __attribute__ ((vector_size (16)));
-typedef char __v16qi __attribute__ ((vector_size (16)));
+typedef double __v2df __attribute__ ((__vector_size__ (16)));
+typedef long long __v2di __attribute__ ((__vector_size__ (16)));
+typedef int __v4si __attribute__ ((__vector_size__ (16)));
+typedef short __v8hi __attribute__ ((__vector_size__ (16)));
+typedef char __v16qi __attribute__ ((__vector_size__ (16)));
/* Create a selector for use with the SHUFPD instruction. */
#define _MM_SHUFFLE2(fp1,fp0) \
diff --git a/gcc/config/i386/mmintrin.h b/gcc/config/i386/mmintrin.h
index 6d7bdbe..e0be004 100644
--- a/gcc/config/i386/mmintrin.h
+++ b/gcc/config/i386/mmintrin.h
@@ -34,12 +34,12 @@
# error "MMX instruction set not enabled"
#else
/* The data type intended for user use. */
-typedef int __m64 __attribute__ ((vector_size (8)));
+typedef int __m64 __attribute__ ((__vector_size__ (8)));
/* Internal data types for implementing the intrinsics. */
-typedef int __v2si __attribute__ ((vector_size (8)));
-typedef short __v4hi __attribute__ ((vector_size (8)));
-typedef char __v8qi __attribute__ ((vector_size (8)));
+typedef int __v2si __attribute__ ((__vector_size__ (8)));
+typedef short __v4hi __attribute__ ((__vector_size__ (8)));
+typedef char __v8qi __attribute__ ((__vector_size__ (8)));
/* Empty the multimedia state. */
static __inline void
diff --git a/gcc/config/i386/xmmintrin.h b/gcc/config/i386/xmmintrin.h
index ae55c26..6ef302e 100644
--- a/gcc/config/i386/xmmintrin.h
+++ b/gcc/config/i386/xmmintrin.h
@@ -41,10 +41,10 @@
#include <mm_malloc.h>
/* The data type intended for user use. */
-typedef float __m128 __attribute__ ((vector_size (16)));
+typedef float __m128 __attribute__ ((__vector_size__ (16)));
/* Internal data types for implementing the intrinsics. */
-typedef float __v4sf __attribute__ ((vector_size (16)));
+typedef float __v4sf __attribute__ ((__vector_size__ (16)));
/* Create a selector for use with the SHUFPS instruction. */
#define _MM_SHUFFLE(fp3,fp2,fp1,fp0) \