emmintrin.h: Use __vector_size__ instead of vector_size.
authorRichard Henderson <rth@redhat.com>
Mon, 20 Dec 2004 10:55:11 +0000 (02:55 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Mon, 20 Dec 2004 10:55:11 +0000 (02:55 -0800)
        * config/i386/emmintrin.h: Use __vector_size__ instead of vector_size.
        * config/i386/mmintrin.h, config/i386/xmmintrin.h: Likewise.

From-SVN: r92412

gcc/ChangeLog
gcc/config/i386/emmintrin.h
gcc/config/i386/mmintrin.h
gcc/config/i386/xmmintrin.h

index 427aa21b06e57ace8b5be6a001a7ee1ec758f1f7..d746ebfa07fe6b6cb964f67810c8557bd2ddc384 100644 (file)
@@ -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
index 49f0542a8be50bbfabb81ca300638af6ca998253..67450e44e28e0d34dbee2b8064dadfe047f6e70a 100644 (file)
 #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) \
index 6d7bdbec65c96fa79fce35987d6ab72b726bfb1e..e0be004dc24967d5129d54624c1dc33f88bc48e7 100644 (file)
 # 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
index ae55c26fb5614585c5fde6e6f3e28b8c190ee29d..6ef302e82595171ae5b35c43a213add680f2a43b 100644 (file)
 #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) \