30 #define __DEFAULT_FN_ATTRS __attribute__((__always_inline__, __nodebug__, __target__("ssse3")))
33 _mm_abs_pi8(__m64 __a)
35 return (__m64)__builtin_ia32_pabsb((__v8qi)__a);
39 _mm_abs_epi8(__m128i __a)
41 return (__m128i)__builtin_ia32_pabsb128((__v16qi)__a);
45 _mm_abs_pi16(__m64 __a)
47 return (__m64)__builtin_ia32_pabsw((__v4hi)__a);
51 _mm_abs_epi16(__m128i __a)
53 return (__m128i)__builtin_ia32_pabsw128((__v8hi)__a);
57 _mm_abs_pi32(__m64 __a)
59 return (__m64)__builtin_ia32_pabsd((__v2si)__a);
63 _mm_abs_epi32(__m128i __a)
65 return (__m128i)__builtin_ia32_pabsd128((__v4si)__a);
68 #define _mm_alignr_epi8(a, b, n) __extension__ ({ \
69 (__m128i)__builtin_ia32_palignr128((__v16qi)(__m128i)(a), \
70 (__v16qi)(__m128i)(b), (n)); })
72 #define _mm_alignr_pi8(a, b, n) __extension__ ({ \
73 (__m64)__builtin_ia32_palignr((__v8qi)(__m64)(a), (__v8qi)(__m64)(b), (n)); })
76 _mm_hadd_epi16(__m128i __a, __m128i
__b)
78 return (__m128i)__builtin_ia32_phaddw128((__v8hi)__a, (__v8hi)__b);
82 _mm_hadd_epi32(__m128i __a, __m128i
__b)
84 return (__m128i)__builtin_ia32_phaddd128((__v4si)__a, (__v4si)__b);
88 _mm_hadd_pi16(__m64 __a, __m64 __b)
90 return (__m64)__builtin_ia32_phaddw((__v4hi)__a, (__v4hi)__b);
94 _mm_hadd_pi32(__m64 __a, __m64 __b)
96 return (__m64)__builtin_ia32_phaddd((__v2si)__a, (__v2si)__b);
100 _mm_hadds_epi16(__m128i __a, __m128i __b)
102 return (__m128i)__builtin_ia32_phaddsw128((__v8hi)__a, (__v8hi)__b);
106 _mm_hadds_pi16(__m64 __a, __m64 __b)
108 return (__m64)__builtin_ia32_phaddsw((__v4hi)__a, (__v4hi)__b);
112 _mm_hsub_epi16(__m128i __a, __m128i __b)
114 return (__m128i)__builtin_ia32_phsubw128((__v8hi)__a, (__v8hi)__b);
118 _mm_hsub_epi32(__m128i __a, __m128i __b)
120 return (__m128i)__builtin_ia32_phsubd128((__v4si)__a, (__v4si)__b);
124 _mm_hsub_pi16(__m64 __a, __m64 __b)
126 return (__m64)__builtin_ia32_phsubw((__v4hi)__a, (__v4hi)__b);
130 _mm_hsub_pi32(__m64 __a, __m64 __b)
132 return (__m64)__builtin_ia32_phsubd((__v2si)__a, (__v2si)__b);
136 _mm_hsubs_epi16(__m128i __a, __m128i __b)
138 return (__m128i)__builtin_ia32_phsubsw128((__v8hi)__a, (__v8hi)__b);
142 _mm_hsubs_pi16(__m64 __a, __m64 __b)
144 return (__m64)__builtin_ia32_phsubsw((__v4hi)__a, (__v4hi)__b);
148 _mm_maddubs_epi16(__m128i __a, __m128i __b)
150 return (__m128i)__builtin_ia32_pmaddubsw128((__v16qi)__a, (__v16qi)__b);
154 _mm_maddubs_pi16(__m64 __a, __m64 __b)
156 return (__m64)__builtin_ia32_pmaddubsw((__v8qi)__a, (__v8qi)__b);
160 _mm_mulhrs_epi16(__m128i __a, __m128i __b)
162 return (__m128i)__builtin_ia32_pmulhrsw128((__v8hi)__a, (__v8hi)__b);
166 _mm_mulhrs_pi16(__m64 __a, __m64 __b)
168 return (__m64)__builtin_ia32_pmulhrsw((__v4hi)__a, (__v4hi)__b);
172 _mm_shuffle_epi8(__m128i __a, __m128i __b)
174 return (__m128i)__builtin_ia32_pshufb128((__v16qi)__a, (__v16qi)__b);
178 _mm_shuffle_pi8(__m64 __a, __m64 __b)
180 return (__m64)__builtin_ia32_pshufb((__v8qi)__a, (__v8qi)__b);
184 _mm_sign_epi8(__m128i __a, __m128i __b)
186 return (__m128i)__builtin_ia32_psignb128((__v16qi)__a, (__v16qi)__b);
190 _mm_sign_epi16(__m128i __a, __m128i __b)
192 return (__m128i)__builtin_ia32_psignw128((__v8hi)__a, (__v8hi)__b);
196 _mm_sign_epi32(__m128i __a, __m128i __b)
198 return (__m128i)__builtin_ia32_psignd128((__v4si)__a, (__v4si)__b);
202 _mm_sign_pi8(__m64 __a, __m64 __b)
204 return (__m64)__builtin_ia32_psignb((__v8qi)__a, (__v8qi)__b);
208 _mm_sign_pi16(__m64 __a, __m64 __b)
210 return (__m64)__builtin_ia32_psignw((__v4hi)__a, (__v4hi)__b);
214 _mm_sign_pi32(__m64 __a, __m64 __b)
216 return (__m64)__builtin_ia32_psignd((__v2si)__a, (__v2si)__b);
219 #undef __DEFAULT_FN_ATTRS
static vector float vector float __b
Definition: altivec.h:419
#define __DEFAULT_FN_ATTRS
Definition: tmmintrin.h:30