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
This commit is contained in:
Richard Henderson 2004-12-20 02:55:11 -08:00 committed by Richard Henderson
parent f455928742
commit 3336093d34
4 changed files with 16 additions and 11 deletions

View 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

View File

@ -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) \

View File

@ -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

View File

@ -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) \