diff options
Diffstat (limited to 'gcc/config/i386/pmmintrin.h')
-rw-r--r-- | gcc/config/i386/pmmintrin.h | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/gcc/config/i386/pmmintrin.h b/gcc/config/i386/pmmintrin.h index 68fe44b726c..866241727e9 100644 --- a/gcc/config/i386/pmmintrin.h +++ b/gcc/config/i386/pmmintrin.h @@ -1,3 +1,4 @@ +/* APPLE LOCAL file mainline 2005-06-30 Radar 4131077 */ /* Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. This file is part of GCC. @@ -14,8 +15,8 @@ You should have received a copy of the GNU General Public License along with GCC; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. */ /* As a special exception, if you include this header file into source files compiled by GCC, this header file does not by itself cause @@ -44,80 +45,80 @@ #define _MM_GET_DENORMALS_ZERO_MODE() \ (_mm_getcsr() & _MM_DENORMALS_ZERO_MASK) -static __inline __m128 +static __inline __m128 __attribute__((__always_inline__)) _mm_addsub_ps (__m128 __X, __m128 __Y) { return (__m128) __builtin_ia32_addsubps ((__v4sf)__X, (__v4sf)__Y); } -static __inline __m128 +static __inline __m128 __attribute__((__always_inline__)) _mm_hadd_ps (__m128 __X, __m128 __Y) { return (__m128) __builtin_ia32_haddps ((__v4sf)__X, (__v4sf)__Y); } -static __inline __m128 +static __inline __m128 __attribute__((__always_inline__)) _mm_hsub_ps (__m128 __X, __m128 __Y) { return (__m128) __builtin_ia32_hsubps ((__v4sf)__X, (__v4sf)__Y); } -static __inline __m128 +static __inline __m128 __attribute__((__always_inline__)) _mm_movehdup_ps (__m128 __X) { return (__m128) __builtin_ia32_movshdup ((__v4sf)__X); } -static __inline __m128 +static __inline __m128 __attribute__((__always_inline__)) _mm_moveldup_ps (__m128 __X) { return (__m128) __builtin_ia32_movsldup ((__v4sf)__X); } -static __inline __m128d +static __inline __m128d __attribute__((__always_inline__)) _mm_addsub_pd (__m128d __X, __m128d __Y) { return (__m128d) __builtin_ia32_addsubpd ((__v2df)__X, (__v2df)__Y); } -static __inline __m128d +static __inline __m128d __attribute__((__always_inline__)) _mm_hadd_pd (__m128d __X, __m128d __Y) { return (__m128d) __builtin_ia32_haddpd ((__v2df)__X, (__v2df)__Y); } -static __inline __m128d +static __inline __m128d __attribute__((__always_inline__)) _mm_hsub_pd (__m128d __X, __m128d __Y) { return (__m128d) __builtin_ia32_hsubpd ((__v2df)__X, (__v2df)__Y); } -static __inline __m128d +static __inline __m128d __attribute__((__always_inline__)) _mm_loaddup_pd (double const *__P) { return _mm_load1_pd (__P); } -static __inline __m128d +static __inline __m128d __attribute__((__always_inline__)) _mm_movedup_pd (__m128d __X) { return _mm_shuffle_pd (__X, __X, _MM_SHUFFLE2 (0,0)); } -static __inline __m128i +static __inline __m128i __attribute__((__always_inline__)) _mm_lddqu_si128 (__m128i const *__P) { return (__m128i) __builtin_ia32_lddqu ((char const *)__P); } #if 0 -static __inline void +static __inline void __attribute__((__always_inline__)) _mm_monitor (void const * __P, unsigned int __E, unsigned int __H) { __builtin_ia32_monitor (__P, __E, __H); } -static __inline void +static __inline void __attribute__((__always_inline__)) _mm_mwait (unsigned int __E, unsigned int __H) { __builtin_ia32_mwait (__E, __H); |