16 #define __DEFAULT_FN_ATTRS __attribute__((__always_inline__, __nodebug__, __target__("ssse3"), __min_vector_width__(64))) 17 #define __DEFAULT_FN_ATTRS_MMX __attribute__((__always_inline__, __nodebug__, __target__("mmx,ssse3"), __min_vector_width__(64))) 34 return (__m64)__builtin_ia32_pabsb((__v8qi)__a);
52 return (__m128i)__builtin_ia32_pabsb128((__v16qi)__a);
70 return (__m64)__builtin_ia32_pabsw((__v4hi)__a);
88 return (__m128i)__builtin_ia32_pabsw128((__v8hi)__a);
106 return (__m64)__builtin_ia32_pabsd((__v2si)__a);
124 return (__m128i)__builtin_ia32_pabsd128((__v4si)__a);
147 #define _mm_alignr_epi8(a, b, n) \ 148 (__m128i)__builtin_ia32_palignr128((__v16qi)(__m128i)(a), \ 149 (__v16qi)(__m128i)(b), (n)) 170 #define _mm_alignr_pi8(a, b, n) \ 171 (__m64)__builtin_ia32_palignr((__v8qi)(__m64)(a), (__v8qi)(__m64)(b), (n)) 193 return (__m128i)__builtin_ia32_phaddw128((__v8hi)__a, (__v8hi)__b);
216 return (__m128i)__builtin_ia32_phaddd128((__v4si)__a, (__v4si)__b);
239 return (__m64)__builtin_ia32_phaddw((__v4hi)__a, (__v4hi)__b);
262 return (__m64)__builtin_ia32_phaddd((__v2si)__a, (__v2si)__b);
287 return (__m128i)__builtin_ia32_phaddsw128((__v8hi)__a, (__v8hi)__b);
312 return (__m64)__builtin_ia32_phaddsw((__v4hi)__a, (__v4hi)__b);
335 return (__m128i)__builtin_ia32_phsubw128((__v8hi)__a, (__v8hi)__b);
358 return (__m128i)__builtin_ia32_phsubd128((__v4si)__a, (__v4si)__b);
381 return (__m64)__builtin_ia32_phsubw((__v4hi)__a, (__v4hi)__b);
404 return (__m64)__builtin_ia32_phsubd((__v2si)__a, (__v2si)__b);
429 return (__m128i)__builtin_ia32_phsubsw128((__v8hi)__a, (__v8hi)__b);
454 return (__m64)__builtin_ia32_phsubsw((__v4hi)__a, (__v4hi)__b);
488 return (__m128i)__builtin_ia32_pmaddubsw128((__v16qi)__a, (__v16qi)__b);
518 return (__m64)__builtin_ia32_pmaddubsw((__v8qi)__a, (__v8qi)__b);
538 return (__m128i)__builtin_ia32_pmulhrsw128((__v8hi)__a, (__v8hi)__b);
558 return (__m64)__builtin_ia32_pmulhrsw((__v4hi)__a, (__v4hi)__b);
584 return (__m128i)__builtin_ia32_pshufb128((__v16qi)__a, (__v16qi)__b);
609 return (__m64)__builtin_ia32_pshufb((__v8qi)__a, (__v8qi)__b);
635 return (__m128i)__builtin_ia32_psignb128((__v16qi)__a, (__v16qi)__b);
661 return (__m128i)__builtin_ia32_psignw128((__v8hi)__a, (__v8hi)__b);
687 return (__m128i)__builtin_ia32_psignd128((__v4si)__a, (__v4si)__b);
713 return (__m64)__builtin_ia32_psignb((__v8qi)__a, (__v8qi)__b);
739 return (__m64)__builtin_ia32_psignw((__v4hi)__a, (__v4hi)__b);
765 return (__m64)__builtin_ia32_psignd((__v2si)__a, (__v2si)__b);
768 #undef __DEFAULT_FN_ATTRS 769 #undef __DEFAULT_FN_ATTRS_MMX static __inline__ __m64 __DEFAULT_FN_ATTRS_MMX _mm_hsub_pi16(__m64 __a, __m64 __b)
Horizontally subtracts the adjacent pairs of values contained in 2 packed 64-bit vectors of [4 x i16]...
static __inline__ __m64 __DEFAULT_FN_ATTRS_MMX _mm_mulhrs_pi16(__m64 __a, __m64 __b)
Multiplies packed 16-bit signed integer values, truncates the 32-bit products to the 18 most signific...
static __inline__ __m128i __DEFAULT_FN_ATTRS _mm_sign_epi8(__m128i __a, __m128i __b)
For each 8-bit integer in the first source operand, perform one of the following actions as specified...
static __inline__ __m128i __DEFAULT_FN_ATTRS _mm_hsub_epi32(__m128i __a, __m128i __b)
Horizontally subtracts the adjacent pairs of values contained in 2 packed 128-bit vectors of [4 x i32...
static __inline__ __m64 __DEFAULT_FN_ATTRS_MMX _mm_hadd_pi32(__m64 __a, __m64 __b)
Horizontally adds the adjacent pairs of values contained in 2 packed 64-bit vectors of [2 x i32]...
static __inline__ __m128i __DEFAULT_FN_ATTRS _mm_abs_epi32(__m128i __a)
Computes the absolute value of each of the packed 32-bit signed integers in the source operand and st...
static __inline__ __m128i __DEFAULT_FN_ATTRS _mm_maddubs_epi16(__m128i __a, __m128i __b)
Multiplies corresponding pairs of packed 8-bit unsigned integer values contained in the first source ...
static __inline__ __m128i __DEFAULT_FN_ATTRS _mm_hadd_epi32(__m128i __a, __m128i __b)
Horizontally adds the adjacent pairs of values contained in 2 packed 128-bit vectors of [4 x i32]...
static __inline__ __m128i __DEFAULT_FN_ATTRS _mm_hadds_epi16(__m128i __a, __m128i __b)
Horizontally adds the adjacent pairs of values contained in 2 packed 128-bit vectors of [8 x i16]...
static __inline__ __m64 __DEFAULT_FN_ATTRS_MMX _mm_abs_pi32(__m64 __a)
Computes the absolute value of each of the packed 32-bit signed integers in the source operand and st...
static __inline__ void int __a
static __inline__ __m128i __DEFAULT_FN_ATTRS _mm_hadd_epi16(__m128i __a, __m128i __b)
Horizontally adds the adjacent pairs of values contained in 2 packed 128-bit vectors of [8 x i16]...
static __inline__ __m64 __DEFAULT_FN_ATTRS_MMX _mm_hadds_pi16(__m64 __a, __m64 __b)
Horizontally adds the adjacent pairs of values contained in 2 packed 64-bit vectors of [4 x i16]...
static __inline__ __m64 __DEFAULT_FN_ATTRS_MMX _mm_shuffle_pi8(__m64 __a, __m64 __b)
Copies the 8-bit integers from a 64-bit integer vector to the destination or clears 8-bit values in t...
static __inline__ __m64 __DEFAULT_FN_ATTRS_MMX _mm_hadd_pi16(__m64 __a, __m64 __b)
Horizontally adds the adjacent pairs of values contained in 2 packed 64-bit vectors of [4 x i16]...
static __inline__ __m128i __DEFAULT_FN_ATTRS _mm_sign_epi32(__m128i __a, __m128i __b)
For each 32-bit integer in the first source operand, perform one of the following actions as specifie...
static __inline__ __m128i __DEFAULT_FN_ATTRS _mm_mulhrs_epi16(__m128i __a, __m128i __b)
Multiplies packed 16-bit signed integer values, truncates the 32-bit products to the 18 most signific...
static __inline__ __m64 __DEFAULT_FN_ATTRS_MMX _mm_hsub_pi32(__m64 __a, __m64 __b)
Horizontally subtracts the adjacent pairs of values contained in 2 packed 64-bit vectors of [2 x i32]...
static __inline__ __m64 __DEFAULT_FN_ATTRS_MMX _mm_hsubs_pi16(__m64 __a, __m64 __b)
Horizontally subtracts the adjacent pairs of values contained in 2 packed 64-bit vectors of [4 x i16]...
static __inline__ __m64 __DEFAULT_FN_ATTRS_MMX _mm_sign_pi8(__m64 __a, __m64 __b)
For each 8-bit integer in the first source operand, perform one of the following actions as specified...
static __inline__ __m64 __DEFAULT_FN_ATTRS_MMX _mm_abs_pi16(__m64 __a)
Computes the absolute value of each of the packed 16-bit signed integers in the source operand and st...
static __inline__ __m64 __DEFAULT_FN_ATTRS_MMX _mm_maddubs_pi16(__m64 __a, __m64 __b)
Multiplies corresponding pairs of packed 8-bit unsigned integer values contained in the first source ...
#define __DEFAULT_FN_ATTRS_MMX
static __inline__ vector float vector float __b
static __inline__ __m128i __DEFAULT_FN_ATTRS _mm_abs_epi8(__m128i __a)
Computes the absolute value of each of the packed 8-bit signed integers in the source operand and sto...
static __inline__ __m128i __DEFAULT_FN_ATTRS _mm_hsub_epi16(__m128i __a, __m128i __b)
Horizontally subtracts the adjacent pairs of values contained in 2 packed 128-bit vectors of [8 x i16...
static __inline__ __m128i __DEFAULT_FN_ATTRS _mm_hsubs_epi16(__m128i __a, __m128i __b)
Horizontally subtracts the adjacent pairs of values contained in 2 packed 128-bit vectors of [8 x i16...
static __inline__ __m128i __DEFAULT_FN_ATTRS _mm_sign_epi16(__m128i __a, __m128i __b)
For each 16-bit integer in the first source operand, perform one of the following actions as specifie...
static __inline__ __m64 __DEFAULT_FN_ATTRS_MMX _mm_sign_pi16(__m64 __a, __m64 __b)
For each 16-bit integer in the first source operand, perform one of the following actions as specifie...
#define __DEFAULT_FN_ATTRS
static __inline__ __m128i __DEFAULT_FN_ATTRS _mm_shuffle_epi8(__m128i __a, __m128i __b)
Copies the 8-bit integers from a 128-bit integer vector to the destination or clears 8-bit values in ...
static __inline__ __m64 __DEFAULT_FN_ATTRS_MMX _mm_sign_pi32(__m64 __a, __m64 __b)
For each 32-bit integer in the first source operand, perform one of the following actions as specifie...
static __inline__ __m128i __DEFAULT_FN_ATTRS _mm_abs_epi16(__m128i __a)
Computes the absolute value of each of the packed 16-bit signed integers in the source operand and st...
static __inline__ __m64 __DEFAULT_FN_ATTRS_MMX _mm_abs_pi8(__m64 __a)
Computes the absolute value of each of the packed 8-bit signed integers in the source operand and sto...