r135092 - in /branches/ix86/avx/gcc: ChangeLog....
hjl@gcc.gnu.org
hjl@gcc.gnu.org
Thu May 8 21:45:00 GMT 2008
Author: hjl
Date: Thu May 8 21:45:11 2008
New Revision: 135092
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=135092
Log:
2008-05-08 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/gmmintrin.h (_mm_maskload_pd): Fix a typo.
(_mm_maskstore_pd): Likewise.
(_mm256_maskload_pd): Likewise.
(_mm256_maskstore_pd): Likewise.
(_mm_maskload_ps): Likewise.
(_mm_maskstore_ps): Likewise.
(_mm256_maskload_ps): Likewise.
(_mm256_maskstore_ps): Likewise.
(_mm256_movedup_pd): Likewise.
(_mm256_unpackhi_pd): Likewise.
(_mm256_castpd256_pd128): Updated.
(_mm256_castps256_ps128): Likewise.
(_mm256_castsi256_si128): Likewise.
(_mm256_castpd128_pd256): Likewise.
(_mm256_castps128_ps256): Likewise.
(_mm256_castsi128_si256): Likewise.
* config/i386/i386.c (ix86_builtins): Add
IX86_BUILTIN_MOVSHDUP256, IX86_BUILTIN_MOVSLDUP256,
IX86_BUILTIN_MOVDDUP256, IX86_BUILTIN_UNPCKHPD256,
IX86_BUILTIN_UNPCKLPD256, IX86_BUILTIN_UNPCKHPS256,
IX86_BUILTIN_UNPCKLPS256, IX86_BUILTIN_SI256_SI,
IX86_BUILTIN_PS256_PS, IX86_BUILTIN_PD256_PD,
IX86_BUILTIN_SI_SI256, IX86_BUILTIN_PS_PS256 and
IX86_BUILTIN_PD_PD256.
(ix86_special_builtin_type): Add V8SF_FTYPE_PCV8SF_V8SF,
V4DF_FTYPE_PCV4DF_V4DF, V4SF_FTYPE_PCV4SF_V4SF,
V2DF_FTYPE_PCV2DF_V2DF, VOID_FTYPE_PV8SF_V8SF_V8SF,
VOID_FTYPE_PV4DF_V4DF_V4DF, VOID_FTYPE_PV4SF_V4SF_V4SF and
VOID_FTYPE_PV2DF_V2DF_V2DF.
(ix86_builtin_type): Add V8SF_FTYPE_V8SF, V8SI_FTYPE_V4SI,
V8SF_FTYPE_V4SF, V4SI_FTYPE_V8SI, V4DF_FTYPE_V4DF,
V4DF_FTYPE_V2DF, V4SF_FTYPE_V8SF and V2DF_FTYPE_V4DF.
(bdesc_special_args): Add AVX maskload and maskstore builtins.
(bdesc_args): Add __builtin_ia32_movshdup256,
__builtin_ia32_movsldup256, __builtin_ia32_movddup256.
__builtin_ia32_unpckhpd256, __builtin_ia32_unpcklpd256,
__builtin_ia32_unpckhps256, __builtin_ia32_unpcklps256.
__builtin_ia32_si256_si, __builtin_ia32_ps256_ps,
__builtin_ia32_pd256_pd, __builtin_ia32_si_si256,
__builtin_ia32_ps_ps256 and __builtin_ia32_pd_pd256.
(ix86_init_mmx_sse_builtins): Updated.
(ix86_expand_args_builtin): Likewise.
(ix86_expand_special_args_builtin): Likewise.
* config/i386/i386.md (UNSPEC_MASKLOAD): New.
(UNSPEC_MASKSTORE): Likewise.
(UNSPEC_CAST): Likewise.
* config/i386/sse.md (AVXMODEF21P): Removed.
(AVX256MODEF128): Renamed to ...
(AVX256MODE2P): This.
(AVX256MODEF128S): Renamed to ...
(AVX256MODE8P): This.
(avxmodesuffixf128): Renamed to ...
(avxmodesuffixp): This.
(avx_dpp<avxmodesuffixf2c><avxmodesuffix>): Updated.
(avx_vperm2f128<mode>3): Likewise.
(avx_vinsertf128_<avxmodesuffixf128>256): Renamed to ...
(avx_vinsertf128_<avxmodesuffixp>256): This. Updated.
(avx_vinsertf128_<avxmodesuffixf128>256_0): Renamed to ...
(avx_vinsertf128_<avxmodesuffixp>256_0): This. Updated.
(avx_vinsertf128_<avxmodesuffixf128>256_1): Renamed to ...
(avx_vinsertf128_<avxmodesuffixp>256_1): This. Updated.
2008-05-08 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/sse.md (*avx_<plusminus_insn><mode>3): New.
(*avx_<plusminus_insn><mode>3): Likewise.
(*avx_add<mode>3): Removed.
(*avx_ssadd<mode>3): Likewise.
(*avx_usadd<mode>3): Likewise.
(*avx_sub<mode>3): Likewise.
(*avx_sssub<mode>3): Likewise.
(*avx_ussub<mode>3): Likewise.
(avx_maskloadp<avxmodesuffixf2c><avxmodesuffix>): Likewise.
(avx_maskstorep<avxmodesuffixf2c><avxmodesuffix>): Likewise.
(avx_<avxmodesuffixp><avxmodesuffix>_<avxmodesuffixp>):Likewise.
(avx_<avxmodesuffixp>_<avxmodesuffixp><avxmodesuffix>): Likewise.
2008-05-08 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/sse.md (avx_storehps): Renamed to ...
(*avx_storehps): This.
(avx_loadhps): Renamed to ...
(*avx_loadhps): This.
(avx_storelps): Renamed to ...
(*avx_storelps): This.
(avx_loadlps): Renamed to ...
(*avx_loadlps): This.
(avx_storehpd): Renamed to ...
(*avx_storehpd): This.
(avx_storelpd): Renamed to ...
(*avx_storelpd): This.
(avx_loadhpd): Renamed to ...
(*avx_loadhpd): This.
(avx_loadlpd): Renamed to ...
(*avx_loadlpd): This.
2008-05-08 Xuepeng Guo <xuepeng.guo@intel.com>
H.J. Lu <hongjiu.lu@intel.com>
* config/i386/sse.md (*avx_movhlps): New.
(*avx_movlhps): Likewise.
(avx_unpckhps256): Likewise.
(*avx_unpckhps): Likewise.
(avx_unpcklps256): Likewise.
(*avx_unpcklps): Likewise.
(avx_movshdup256): Likewise.
(avx_movsldup256): Likewise.
(*avx_shufps_1): Likewise.
(*avx_movss): Likewise.
(*avx_concatv4sf): Likewise.
(*avx_vec_setv4sf_0): Likewise.
(*vec_setv4sf_avx): Likewise.
(avx_unpckhpd256): Likewise.
(*avx_unpckhpd): Likewise.
(avx_movddup256): Likewise.
(*avx_movddup): Likewise.
(avx_unpcklpd256): Likewise.
(*avx_unpcklpd): Likewise.
(*avx_shufpd_1): Likewise.
(*avx_movsd): Likewise.
2008-05-08 Xuepeng Guo <xuepeng.guo@intel.com>
* config/i386/sse.md (<sse>_comi): Support AVX.
(<sse>_ucomi): Likewise.
(sse3_movshdup): Likewise.
(sse3_movsldup): Likewise.
(*vec_dupv2df_sse3): Likewise.
(vec_dupv2df): Likewise.
(sse_ldmxcsr): Likewise.
(*avx_cvtss2sd): Replace constraint x by xm for operand 2.
Modified:
branches/ix86/avx/gcc/ChangeLog.avx
branches/ix86/avx/gcc/config/i386/gmmintrin.h
branches/ix86/avx/gcc/config/i386/i386.c
branches/ix86/avx/gcc/config/i386/i386.md
branches/ix86/avx/gcc/config/i386/sse.md
More information about the Gcc-cvs
mailing list