summaryrefslogtreecommitdiff
path: root/gcc/config/i386/mmintrin.h
diff options
context:
space:
mode:
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2008-05-02 19:20:43 +0000
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2008-05-02 19:20:43 +0000
commit875a66b2f9a8edf3b1867ae1a33d0db4cfc6747b (patch)
treeb2be3d60f7c3dd6b0d3583b7d3d356ec6e047075 /gcc/config/i386/mmintrin.h
parentfba7ae09296f045c7a02c72db005fa95b78504d5 (diff)
downloadgcc-875a66b2f9a8edf3b1867ae1a33d0db4cfc6747b.tar.gz
2008-05-02 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/i386.c (ix86_special_builtin_type): New. (bdesc_special_args): Likewise. (ix86_expand_special_args_builtin): Likewise. (ix86_init_mmx_sse_builtins): Updated. (ix86_expand_builtin): Updated. (ix86_expand_store_builtin): Removed. (ix86_expand_unop_builtin): Likewise. * config/i386/mm3dnow.h (__v2sf): Moved to ... * config/i386/mmintrin.h (__v2sf): Here. * config/i386/xmmintrin.h (_mm_loadh_pi): Replace __v2si with const __v2sf. (_mm_loadl_pi): Likewise. (_mm_storeh_pi): Replace __v2si with __v2sf. (_mm_storel_pi): Likewise. * doc/extend.texi: Correct __builtin_ia32_loadhps, __builtin_ia32_loadlps, __builtin_ia32_storehps, __builtin_ia32_storelps, __builtin_ia32_loadhpd and __builtin_ia32_loadlpd. 2008-05-02 H.J. Lu <hongjiu.lu@intel.com> * config/i386/i386.c (ix86_builtin_type): Add FLOAT_FTYPE_FLOAT, V4SF_FTYPE_V4SF_VEC_MERGE and V2DF_FTYPE_V2DF_VEC_MERGE. (bdesc_args): Updated. Add scalar SSE builtins with vec_merge. (ix86_init_mmx_sse_builtins): Updated. (ix86_expand_args_builtin): Likewise. (ix86_expand_builtin): Likewise. (ix86_expand_unop1_builtin): Renamed to ... (ix86_expand_unop_vec_merge_builtin): This. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@134886 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386/mmintrin.h')
-rw-r--r--gcc/config/i386/mmintrin.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/config/i386/mmintrin.h b/gcc/config/i386/mmintrin.h
index 1c09be30e1a..3c135e61766 100644
--- a/gcc/config/i386/mmintrin.h
+++ b/gcc/config/i386/mmintrin.h
@@ -43,6 +43,7 @@ typedef int __v2si __attribute__ ((__vector_size__ (8)));
typedef short __v4hi __attribute__ ((__vector_size__ (8)));
typedef char __v8qi __attribute__ ((__vector_size__ (8)));
typedef long long __v1di __attribute__ ((__vector_size__ (8)));
+typedef float __v2sf __attribute__ ((__vector_size__ (8)));
/* Empty the multimedia state. */
extern __inline void __attribute__((__gnu_inline__, __always_inline__, __artificial__))