+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
#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) \
# 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
#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) \