Commit 3336093d by Richard Henderson Committed by Richard Henderson

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
parent f4559287
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> 2004-12-20 Ben Elliston <bje@au.ibm.com>
* doc/md.texi (Expander Definitions): Use @emph instead of @strong * doc/md.texi (Expander Definitions): Use @emph instead of @strong
......
...@@ -34,11 +34,11 @@ ...@@ -34,11 +34,11 @@
#include <xmmintrin.h> #include <xmmintrin.h>
/* SSE2 */ /* SSE2 */
typedef double __v2df __attribute__ ((vector_size (16))); typedef double __v2df __attribute__ ((__vector_size__ (16)));
typedef long long __v2di __attribute__ ((vector_size (16))); typedef long long __v2di __attribute__ ((__vector_size__ (16)));
typedef int __v4si __attribute__ ((vector_size (16))); typedef int __v4si __attribute__ ((__vector_size__ (16)));
typedef short __v8hi __attribute__ ((vector_size (16))); typedef short __v8hi __attribute__ ((__vector_size__ (16)));
typedef char __v16qi __attribute__ ((vector_size (16))); typedef char __v16qi __attribute__ ((__vector_size__ (16)));
/* Create a selector for use with the SHUFPD instruction. */ /* Create a selector for use with the SHUFPD instruction. */
#define _MM_SHUFFLE2(fp1,fp0) \ #define _MM_SHUFFLE2(fp1,fp0) \
......
...@@ -34,12 +34,12 @@ ...@@ -34,12 +34,12 @@
# error "MMX instruction set not enabled" # error "MMX instruction set not enabled"
#else #else
/* The data type intended for user use. */ /* 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. */ /* Internal data types for implementing the intrinsics. */
typedef int __v2si __attribute__ ((vector_size (8))); typedef int __v2si __attribute__ ((__vector_size__ (8)));
typedef short __v4hi __attribute__ ((vector_size (8))); typedef short __v4hi __attribute__ ((__vector_size__ (8)));
typedef char __v8qi __attribute__ ((vector_size (8))); typedef char __v8qi __attribute__ ((__vector_size__ (8)));
/* Empty the multimedia state. */ /* Empty the multimedia state. */
static __inline void static __inline void
......
...@@ -41,10 +41,10 @@ ...@@ -41,10 +41,10 @@
#include <mm_malloc.h> #include <mm_malloc.h>
/* The data type intended for user use. */ /* 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. */ /* 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. */ /* Create a selector for use with the SHUFPS instruction. */
#define _MM_SHUFFLE(fp3,fp2,fp1,fp0) \ #define _MM_SHUFFLE(fp3,fp2,fp1,fp0) \
......
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