30 #define __DEFAULT_FN_ATTRS __attribute__((__always_inline__, __nodebug__, __target__("sse3")))
33 _mm_lddqu_si128(__m128i
const *
__p)
35 return (__m128i)__builtin_ia32_lddqu((
char const *)__p);
39 _mm_addsub_ps(__m128 __a, __m128
__b)
41 return __builtin_ia32_addsubps(__a, __b);
45 _mm_hadd_ps(__m128 __a, __m128
__b)
47 return __builtin_ia32_haddps(__a, __b);
51 _mm_hsub_ps(__m128 __a, __m128
__b)
53 return __builtin_ia32_hsubps(__a, __b);
57 _mm_movehdup_ps(__m128 __a)
59 return __builtin_shufflevector(__a, __a, 1, 1, 3, 3);
63 _mm_moveldup_ps(__m128 __a)
65 return __builtin_shufflevector(__a, __a, 0, 0, 2, 2);
69 _mm_addsub_pd(__m128d __a, __m128d
__b)
71 return __builtin_ia32_addsubpd(__a, __b);
75 _mm_hadd_pd(__m128d __a, __m128d
__b)
77 return __builtin_ia32_haddpd(__a, __b);
81 _mm_hsub_pd(__m128d __a, __m128d
__b)
83 return __builtin_ia32_hsubpd(__a, __b);
86 #define _mm_loaddup_pd(dp) _mm_load1_pd(dp)
89 _mm_movedup_pd(__m128d __a)
91 return __builtin_shufflevector(__a, __a, 0, 0);
94 #define _MM_DENORMALS_ZERO_ON (0x0040)
95 #define _MM_DENORMALS_ZERO_OFF (0x0000)
97 #define _MM_DENORMALS_ZERO_MASK (0x0040)
99 #define _MM_GET_DENORMALS_ZERO_MODE() (_mm_getcsr() & _MM_DENORMALS_ZERO_MASK)
100 #define _MM_SET_DENORMALS_ZERO_MODE(x) (_mm_setcsr((_mm_getcsr() & ~_MM_DENORMALS_ZERO_MASK) | (x)))
103 _mm_monitor(
void const *
__p,
unsigned __extensions,
unsigned __hints)
105 __builtin_ia32_monitor((
void *)__p, __extensions, __hints);
109 _mm_mwait(
unsigned __extensions,
unsigned __hints)
111 __builtin_ia32_mwait(__extensions, __hints);
114 #undef __DEFAULT_FN_ATTRS
static __inline unsigned char unsigned int unsigned int unsigned int * __p
Definition: adxintrin.h:38
#define __DEFAULT_FN_ATTRS
Definition: pmmintrin.h:30
static vector float vector float __b
Definition: altivec.h:419