forked from OSchip/llvm-project
[X86] Fix the names of a bunch of icelake intrinsics.
Mostly this fixes the names of all the 128-bit intrinsics to start with _mm_ instead of _mm128_ as is the convention and what the Intel docs say. This also fixes the name of the bitshuffle intrinsics to say epi64 for 128 and 256 bit versions. llvm-svn: 333497
This commit is contained in:
parent
a81fb84811
commit
3d9305f28b
|
@ -54,23 +54,23 @@ _mm256_maskz_popcnt_epi16(__mmask16 __U, __m256i __B)
|
|||
}
|
||||
|
||||
static __inline__ __m128i __DEFAULT_FN_ATTRS
|
||||
_mm128_popcnt_epi16(__m128i __A)
|
||||
_mm_popcnt_epi16(__m128i __A)
|
||||
{
|
||||
return (__m128i) __builtin_ia32_vpopcntw_128((__v8hi) __A);
|
||||
}
|
||||
|
||||
static __inline__ __m128i __DEFAULT_FN_ATTRS
|
||||
_mm128_mask_popcnt_epi16(__m128i __A, __mmask8 __U, __m128i __B)
|
||||
_mm_mask_popcnt_epi16(__m128i __A, __mmask8 __U, __m128i __B)
|
||||
{
|
||||
return (__m128i) __builtin_ia32_selectw_128((__mmask8) __U,
|
||||
(__v8hi) _mm128_popcnt_epi16(__B),
|
||||
(__v8hi) _mm_popcnt_epi16(__B),
|
||||
(__v8hi) __A);
|
||||
}
|
||||
|
||||
static __inline__ __m128i __DEFAULT_FN_ATTRS
|
||||
_mm128_maskz_popcnt_epi16(__mmask8 __U, __m128i __B)
|
||||
_mm_maskz_popcnt_epi16(__mmask8 __U, __m128i __B)
|
||||
{
|
||||
return _mm128_mask_popcnt_epi16((__m128i) _mm_setzero_si128(),
|
||||
return _mm_mask_popcnt_epi16((__m128i) _mm_setzero_si128(),
|
||||
__U,
|
||||
__B);
|
||||
}
|
||||
|
@ -98,29 +98,29 @@ _mm256_maskz_popcnt_epi8(__mmask32 __U, __m256i __B)
|
|||
}
|
||||
|
||||
static __inline__ __m128i __DEFAULT_FN_ATTRS
|
||||
_mm128_popcnt_epi8(__m128i __A)
|
||||
_mm_popcnt_epi8(__m128i __A)
|
||||
{
|
||||
return (__m128i) __builtin_ia32_vpopcntb_128((__v16qi) __A);
|
||||
}
|
||||
|
||||
static __inline__ __m128i __DEFAULT_FN_ATTRS
|
||||
_mm128_mask_popcnt_epi8(__m128i __A, __mmask16 __U, __m128i __B)
|
||||
_mm_mask_popcnt_epi8(__m128i __A, __mmask16 __U, __m128i __B)
|
||||
{
|
||||
return (__m128i) __builtin_ia32_selectb_128((__mmask16) __U,
|
||||
(__v16qi) _mm128_popcnt_epi8(__B),
|
||||
(__v16qi) _mm_popcnt_epi8(__B),
|
||||
(__v16qi) __A);
|
||||
}
|
||||
|
||||
static __inline__ __m128i __DEFAULT_FN_ATTRS
|
||||
_mm128_maskz_popcnt_epi8(__mmask16 __U, __m128i __B)
|
||||
_mm_maskz_popcnt_epi8(__mmask16 __U, __m128i __B)
|
||||
{
|
||||
return _mm128_mask_popcnt_epi8((__m128i) _mm_setzero_si128(),
|
||||
return _mm_mask_popcnt_epi8((__m128i) _mm_setzero_si128(),
|
||||
__U,
|
||||
__B);
|
||||
}
|
||||
|
||||
static __inline__ __mmask32 __DEFAULT_FN_ATTRS
|
||||
_mm256_mask_bitshuffle_epi32_mask(__mmask32 __U, __m256i __A, __m256i __B)
|
||||
_mm256_mask_bitshuffle_epi64_mask(__mmask32 __U, __m256i __A, __m256i __B)
|
||||
{
|
||||
return (__mmask32) __builtin_ia32_vpshufbitqmb256_mask((__v32qi) __A,
|
||||
(__v32qi) __B,
|
||||
|
@ -128,15 +128,15 @@ _mm256_mask_bitshuffle_epi32_mask(__mmask32 __U, __m256i __A, __m256i __B)
|
|||
}
|
||||
|
||||
static __inline__ __mmask32 __DEFAULT_FN_ATTRS
|
||||
_mm256_bitshuffle_epi32_mask(__m256i __A, __m256i __B)
|
||||
_mm256_bitshuffle_epi64_mask(__m256i __A, __m256i __B)
|
||||
{
|
||||
return _mm256_mask_bitshuffle_epi32_mask((__mmask32) -1,
|
||||
return _mm256_mask_bitshuffle_epi64_mask((__mmask32) -1,
|
||||
__A,
|
||||
__B);
|
||||
}
|
||||
|
||||
static __inline__ __mmask16 __DEFAULT_FN_ATTRS
|
||||
_mm128_mask_bitshuffle_epi16_mask(__mmask16 __U, __m128i __A, __m128i __B)
|
||||
_mm_mask_bitshuffle_epi64_mask(__mmask16 __U, __m128i __A, __m128i __B)
|
||||
{
|
||||
return (__mmask16) __builtin_ia32_vpshufbitqmb128_mask((__v16qi) __A,
|
||||
(__v16qi) __B,
|
||||
|
@ -144,9 +144,9 @@ _mm128_mask_bitshuffle_epi16_mask(__mmask16 __U, __m128i __A, __m128i __B)
|
|||
}
|
||||
|
||||
static __inline__ __mmask16 __DEFAULT_FN_ATTRS
|
||||
_mm128_bitshuffle_epi16_mask(__m128i __A, __m128i __B)
|
||||
_mm_bitshuffle_epi64_mask(__m128i __A, __m128i __B)
|
||||
{
|
||||
return _mm128_mask_bitshuffle_epi16_mask((__mmask16) -1,
|
||||
return _mm_mask_bitshuffle_epi64_mask((__mmask16) -1,
|
||||
__A,
|
||||
__B);
|
||||
}
|
||||
|
|
|
@ -31,13 +31,8 @@
|
|||
/* Define the default attributes for the functions in this file. */
|
||||
#define __DEFAULT_FN_ATTRS __attribute__((__always_inline__, __nodebug__, __target__("avx512vl,avx512vbmi2")))
|
||||
|
||||
static __inline __m128i __DEFAULT_FN_ATTRS
|
||||
_mm128_setzero_hi(void) {
|
||||
return (__m128i)(__v8hi){ 0, 0, 0, 0, 0, 0, 0, 0 };
|
||||
}
|
||||
|
||||
static __inline__ __m128i __DEFAULT_FN_ATTRS
|
||||
_mm128_mask_compress_epi16(__m128i __S, __mmask8 __U, __m128i __D)
|
||||
_mm_mask_compress_epi16(__m128i __S, __mmask8 __U, __m128i __D)
|
||||
{
|
||||
return (__m128i) __builtin_ia32_compresshi128_mask ((__v8hi) __D,
|
||||
(__v8hi) __S,
|
||||
|
@ -45,15 +40,15 @@ _mm128_mask_compress_epi16(__m128i __S, __mmask8 __U, __m128i __D)
|
|||
}
|
||||
|
||||
static __inline__ __m128i __DEFAULT_FN_ATTRS
|
||||
_mm128_maskz_compress_epi16(__mmask8 __U, __m128i __D)
|
||||
_mm_maskz_compress_epi16(__mmask8 __U, __m128i __D)
|
||||
{
|
||||
return (__m128i) __builtin_ia32_compresshi128_mask ((__v8hi) __D,
|
||||
(__v8hi) _mm128_setzero_hi(),
|
||||
(__v8hi) _mm_setzero_si128(),
|
||||
__U);
|
||||
}
|
||||
|
||||
static __inline__ __m128i __DEFAULT_FN_ATTRS
|
||||
_mm128_mask_compress_epi8(__m128i __S, __mmask16 __U, __m128i __D)
|
||||
_mm_mask_compress_epi8(__m128i __S, __mmask16 __U, __m128i __D)
|
||||
{
|
||||
return (__m128i) __builtin_ia32_compressqi128_mask ((__v16qi) __D,
|
||||
(__v16qi) __S,
|
||||
|
@ -61,29 +56,29 @@ _mm128_mask_compress_epi8(__m128i __S, __mmask16 __U, __m128i __D)
|
|||
}
|
||||
|
||||
static __inline__ __m128i __DEFAULT_FN_ATTRS
|
||||
_mm128_maskz_compress_epi8(__mmask16 __U, __m128i __D)
|
||||
_mm_maskz_compress_epi8(__mmask16 __U, __m128i __D)
|
||||
{
|
||||
return (__m128i) __builtin_ia32_compressqi128_mask ((__v16qi) __D,
|
||||
(__v16qi) _mm128_setzero_hi(),
|
||||
(__v16qi) _mm_setzero_si128(),
|
||||
__U);
|
||||
}
|
||||
|
||||
static __inline__ void __DEFAULT_FN_ATTRS
|
||||
_mm128_mask_compressstoreu_epi16(void *__P, __mmask8 __U, __m128i __D)
|
||||
_mm_mask_compressstoreu_epi16(void *__P, __mmask8 __U, __m128i __D)
|
||||
{
|
||||
__builtin_ia32_compressstorehi128_mask ((__v8hi *) __P, (__v8hi) __D,
|
||||
__U);
|
||||
}
|
||||
|
||||
static __inline__ void __DEFAULT_FN_ATTRS
|
||||
_mm128_mask_compressstoreu_epi8(void *__P, __mmask16 __U, __m128i __D)
|
||||
_mm_mask_compressstoreu_epi8(void *__P, __mmask16 __U, __m128i __D)
|
||||
{
|
||||
__builtin_ia32_compressstoreqi128_mask ((__v16qi *) __P, (__v16qi) __D,
|
||||
__U);
|
||||
}
|
||||
|
||||
static __inline__ __m128i __DEFAULT_FN_ATTRS
|
||||
_mm128_mask_expand_epi16(__m128i __S, __mmask8 __U, __m128i __D)
|
||||
_mm_mask_expand_epi16(__m128i __S, __mmask8 __U, __m128i __D)
|
||||
{
|
||||
return (__m128i) __builtin_ia32_expandhi128_mask ((__v8hi) __D,
|
||||
(__v8hi) __S,
|
||||
|
@ -91,15 +86,15 @@ _mm128_mask_expand_epi16(__m128i __S, __mmask8 __U, __m128i __D)
|
|||
}
|
||||
|
||||
static __inline__ __m128i __DEFAULT_FN_ATTRS
|
||||
_mm128_maskz_expand_epi16(__mmask8 __U, __m128i __D)
|
||||
_mm_maskz_expand_epi16(__mmask8 __U, __m128i __D)
|
||||
{
|
||||
return (__m128i) __builtin_ia32_expandhi128_mask ((__v8hi) __D,
|
||||
(__v8hi) _mm128_setzero_hi(),
|
||||
(__v8hi) _mm_setzero_si128(),
|
||||
__U);
|
||||
}
|
||||
|
||||
static __inline__ __m128i __DEFAULT_FN_ATTRS
|
||||
_mm128_mask_expand_epi8(__m128i __S, __mmask16 __U, __m128i __D)
|
||||
_mm_mask_expand_epi8(__m128i __S, __mmask16 __U, __m128i __D)
|
||||
{
|
||||
return (__m128i) __builtin_ia32_expandqi128_mask ((__v16qi) __D,
|
||||
(__v16qi) __S,
|
||||
|
@ -107,15 +102,15 @@ _mm128_mask_expand_epi8(__m128i __S, __mmask16 __U, __m128i __D)
|
|||
}
|
||||
|
||||
static __inline__ __m128i __DEFAULT_FN_ATTRS
|
||||
_mm128_maskz_expand_epi8(__mmask16 __U, __m128i __D)
|
||||
_mm_maskz_expand_epi8(__mmask16 __U, __m128i __D)
|
||||
{
|
||||
return (__m128i) __builtin_ia32_expandqi128_mask ((__v16qi) __D,
|
||||
(__v16qi) _mm128_setzero_hi(),
|
||||
(__v16qi) _mm_setzero_si128(),
|
||||
__U);
|
||||
}
|
||||
|
||||
static __inline__ __m128i __DEFAULT_FN_ATTRS
|
||||
_mm128_mask_expandloadu_epi16(__m128i __S, __mmask8 __U, void const *__P)
|
||||
_mm_mask_expandloadu_epi16(__m128i __S, __mmask8 __U, void const *__P)
|
||||
{
|
||||
return (__m128i) __builtin_ia32_expandloadhi128_mask ((const __v8hi *)__P,
|
||||
(__v8hi) __S,
|
||||
|
@ -123,15 +118,15 @@ _mm128_mask_expandloadu_epi16(__m128i __S, __mmask8 __U, void const *__P)
|
|||
}
|
||||
|
||||
static __inline__ __m128i __DEFAULT_FN_ATTRS
|
||||
_mm128_maskz_expandloadu_epi16(__mmask8 __U, void const *__P)
|
||||
_mm_maskz_expandloadu_epi16(__mmask8 __U, void const *__P)
|
||||
{
|
||||
return (__m128i) __builtin_ia32_expandloadhi128_mask ((const __v8hi *)__P,
|
||||
(__v8hi) _mm128_setzero_hi(),
|
||||
(__v8hi) _mm_setzero_si128(),
|
||||
__U);
|
||||
}
|
||||
|
||||
static __inline__ __m128i __DEFAULT_FN_ATTRS
|
||||
_mm128_mask_expandloadu_epi8(__m128i __S, __mmask16 __U, void const *__P)
|
||||
_mm_mask_expandloadu_epi8(__m128i __S, __mmask16 __U, void const *__P)
|
||||
{
|
||||
return (__m128i) __builtin_ia32_expandloadqi128_mask ((const __v16qi *)__P,
|
||||
(__v16qi) __S,
|
||||
|
@ -139,19 +134,13 @@ _mm128_mask_expandloadu_epi8(__m128i __S, __mmask16 __U, void const *__P)
|
|||
}
|
||||
|
||||
static __inline__ __m128i __DEFAULT_FN_ATTRS
|
||||
_mm128_maskz_expandloadu_epi8(__mmask16 __U, void const *__P)
|
||||
_mm_maskz_expandloadu_epi8(__mmask16 __U, void const *__P)
|
||||
{
|
||||
return (__m128i) __builtin_ia32_expandloadqi128_mask ((const __v16qi *)__P,
|
||||
(__v16qi) _mm128_setzero_hi(),
|
||||
(__v16qi) _mm_setzero_si128(),
|
||||
__U);
|
||||
}
|
||||
|
||||
static __inline __m256i __DEFAULT_FN_ATTRS
|
||||
_mm256_setzero_hi(void) {
|
||||
return (__m256i)(__v16hi){ 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0 };
|
||||
}
|
||||
|
||||
static __inline__ __m256i __DEFAULT_FN_ATTRS
|
||||
_mm256_mask_compress_epi16(__m256i __S, __mmask16 __U, __m256i __D)
|
||||
{
|
||||
|
@ -164,7 +153,7 @@ static __inline__ __m256i __DEFAULT_FN_ATTRS
|
|||
_mm256_maskz_compress_epi16(__mmask16 __U, __m256i __D)
|
||||
{
|
||||
return (__m256i) __builtin_ia32_compresshi256_mask ((__v16hi) __D,
|
||||
(__v16hi) _mm256_setzero_hi(),
|
||||
(__v16hi) _mm256_setzero_si256(),
|
||||
__U);
|
||||
}
|
||||
|
||||
|
@ -180,7 +169,7 @@ static __inline__ __m256i __DEFAULT_FN_ATTRS
|
|||
_mm256_maskz_compress_epi8(__mmask32 __U, __m256i __D)
|
||||
{
|
||||
return (__m256i) __builtin_ia32_compressqi256_mask ((__v32qi) __D,
|
||||
(__v32qi) _mm256_setzero_hi(),
|
||||
(__v32qi) _mm256_setzero_si256(),
|
||||
__U);
|
||||
}
|
||||
|
||||
|
@ -210,7 +199,7 @@ static __inline__ __m256i __DEFAULT_FN_ATTRS
|
|||
_mm256_maskz_expand_epi16(__mmask16 __U, __m256i __D)
|
||||
{
|
||||
return (__m256i) __builtin_ia32_expandhi256_mask ((__v16hi) __D,
|
||||
(__v16hi) _mm256_setzero_hi(),
|
||||
(__v16hi) _mm256_setzero_si256(),
|
||||
__U);
|
||||
}
|
||||
|
||||
|
@ -226,7 +215,7 @@ static __inline__ __m256i __DEFAULT_FN_ATTRS
|
|||
_mm256_maskz_expand_epi8(__mmask32 __U, __m256i __D)
|
||||
{
|
||||
return (__m256i) __builtin_ia32_expandqi256_mask ((__v32qi) __D,
|
||||
(__v32qi) _mm256_setzero_hi(),
|
||||
(__v32qi) _mm256_setzero_si256(),
|
||||
__U);
|
||||
}
|
||||
|
||||
|
@ -242,7 +231,7 @@ static __inline__ __m256i __DEFAULT_FN_ATTRS
|
|||
_mm256_maskz_expandloadu_epi16(__mmask16 __U, void const *__P)
|
||||
{
|
||||
return (__m256i) __builtin_ia32_expandloadhi256_mask ((const __v16hi *)__P,
|
||||
(__v16hi) _mm256_setzero_hi(),
|
||||
(__v16hi) _mm256_setzero_si256(),
|
||||
__U);
|
||||
}
|
||||
|
||||
|
@ -258,7 +247,7 @@ static __inline__ __m256i __DEFAULT_FN_ATTRS
|
|||
_mm256_maskz_expandloadu_epi8(__mmask32 __U, void const *__P)
|
||||
{
|
||||
return (__m256i) __builtin_ia32_expandloadqi256_mask ((const __v32qi *)__P,
|
||||
(__v32qi) _mm256_setzero_hi(),
|
||||
(__v32qi) _mm256_setzero_si256(),
|
||||
__U);
|
||||
}
|
||||
|
||||
|
@ -270,23 +259,23 @@ _mm256_maskz_expandloadu_epi8(__mmask32 __U, void const *__P)
|
|||
(__mmask8)(U)); })
|
||||
|
||||
#define _mm256_maskz_shldi_epi64(U, A, B, I) \
|
||||
_mm256_mask_shldi_epi64(_mm256_setzero_hi(), (U), (A), (B), (I))
|
||||
_mm256_mask_shldi_epi64(_mm256_setzero_si256(), (U), (A), (B), (I))
|
||||
|
||||
#define _mm256_shldi_epi64(A, B, I) \
|
||||
_mm256_mask_shldi_epi64(_mm256_undefined_si256(), (__mmask8)(-1), (A), (B), (I))
|
||||
|
||||
#define _mm128_mask_shldi_epi64(S, U, A, B, I) __extension__ ({ \
|
||||
#define _mm_mask_shldi_epi64(S, U, A, B, I) __extension__ ({ \
|
||||
(__m128i)__builtin_ia32_vpshldq128_mask((__v2di)(A), \
|
||||
(__v2di)(B), \
|
||||
(int)(I), \
|
||||
(__v2di)(S), \
|
||||
(__mmask8)(U)); })
|
||||
|
||||
#define _mm128_maskz_shldi_epi64(U, A, B, I) \
|
||||
_mm128_mask_shldi_epi64(_mm128_setzero_hi(), (U), (A), (B), (I))
|
||||
#define _mm_maskz_shldi_epi64(U, A, B, I) \
|
||||
_mm_mask_shldi_epi64(_mm_setzero_si128(), (U), (A), (B), (I))
|
||||
|
||||
#define _mm128_shldi_epi64(A, B, I) \
|
||||
_mm128_mask_shldi_epi64(_mm_undefined_si128(), (__mmask8)(-1), (A), (B), (I))
|
||||
#define _mm_shldi_epi64(A, B, I) \
|
||||
_mm_mask_shldi_epi64(_mm_undefined_si128(), (__mmask8)(-1), (A), (B), (I))
|
||||
|
||||
#define _mm256_mask_shldi_epi32(S, U, A, B, I) __extension__ ({ \
|
||||
(__m256i)__builtin_ia32_vpshldd256_mask((__v8si)(A), \
|
||||
|
@ -296,23 +285,23 @@ _mm256_maskz_expandloadu_epi8(__mmask32 __U, void const *__P)
|
|||
(__mmask8)(U)); })
|
||||
|
||||
#define _mm256_maskz_shldi_epi32(U, A, B, I) \
|
||||
_mm256_mask_shldi_epi32(_mm256_setzero_hi(), (U), (A), (B), (I))
|
||||
_mm256_mask_shldi_epi32(_mm256_setzero_si256(), (U), (A), (B), (I))
|
||||
|
||||
#define _mm256_shldi_epi32(A, B, I) \
|
||||
_mm256_mask_shldi_epi32(_mm256_undefined_si256(), (__mmask8)(-1), (A), (B), (I))
|
||||
|
||||
#define _mm128_mask_shldi_epi32(S, U, A, B, I) __extension__ ({ \
|
||||
#define _mm_mask_shldi_epi32(S, U, A, B, I) __extension__ ({ \
|
||||
(__m128i)__builtin_ia32_vpshldd128_mask((__v4si)(A), \
|
||||
(__v4si)(B), \
|
||||
(int)(I), \
|
||||
(__v4si)(S), \
|
||||
(__mmask8)(U)); })
|
||||
|
||||
#define _mm128_maskz_shldi_epi32(U, A, B, I) \
|
||||
_mm128_mask_shldi_epi32(_mm128_setzero_hi(), (U), (A), (B), (I))
|
||||
#define _mm_maskz_shldi_epi32(U, A, B, I) \
|
||||
_mm_mask_shldi_epi32(_mm_setzero_si128(), (U), (A), (B), (I))
|
||||
|
||||
#define _mm128_shldi_epi32(A, B, I) \
|
||||
_mm128_mask_shldi_epi32(_mm_undefined_si128(), (__mmask8)(-1), (A), (B), (I))
|
||||
#define _mm_shldi_epi32(A, B, I) \
|
||||
_mm_mask_shldi_epi32(_mm_undefined_si128(), (__mmask8)(-1), (A), (B), (I))
|
||||
|
||||
#define _mm256_mask_shldi_epi16(S, U, A, B, I) __extension__ ({ \
|
||||
(__m256i)__builtin_ia32_vpshldw256_mask((__v16hi)(A), \
|
||||
|
@ -322,23 +311,23 @@ _mm256_maskz_expandloadu_epi8(__mmask32 __U, void const *__P)
|
|||
(__mmask16)(U)); })
|
||||
|
||||
#define _mm256_maskz_shldi_epi16(U, A, B, I) \
|
||||
_mm256_mask_shldi_epi16(_mm256_setzero_hi(), (U), (A), (B), (I))
|
||||
_mm256_mask_shldi_epi16(_mm256_setzero_si256(), (U), (A), (B), (I))
|
||||
|
||||
#define _mm256_shldi_epi16(A, B, I) \
|
||||
_mm256_mask_shldi_epi16(_mm256_undefined_si256(), (__mmask8)(-1), (A), (B), (I))
|
||||
|
||||
#define _mm128_mask_shldi_epi16(S, U, A, B, I) __extension__ ({ \
|
||||
#define _mm_mask_shldi_epi16(S, U, A, B, I) __extension__ ({ \
|
||||
(__m128i)__builtin_ia32_vpshldw128_mask((__v8hi)(A), \
|
||||
(__v8hi)(B), \
|
||||
(int)(I), \
|
||||
(__v8hi)(S), \
|
||||
(__mmask8)(U)); })
|
||||
|
||||
#define _mm128_maskz_shldi_epi16(U, A, B, I) \
|
||||
_mm128_mask_shldi_epi16(_mm128_setzero_hi(), (U), (A), (B), (I))
|
||||
#define _mm_maskz_shldi_epi16(U, A, B, I) \
|
||||
_mm_mask_shldi_epi16(_mm_setzero_si128(), (U), (A), (B), (I))
|
||||
|
||||
#define _mm128_shldi_epi16(A, B, I) \
|
||||
_mm128_mask_shldi_epi16(_mm_undefined_si128(), (__mmask8)(-1), (A), (B), (I))
|
||||
#define _mm_shldi_epi16(A, B, I) \
|
||||
_mm_mask_shldi_epi16(_mm_undefined_si128(), (__mmask8)(-1), (A), (B), (I))
|
||||
|
||||
#define _mm256_mask_shrdi_epi64(S, U, A, B, I) __extension__ ({ \
|
||||
(__m256i)__builtin_ia32_vpshrdq256_mask((__v4di)(A), \
|
||||
|
@ -348,23 +337,23 @@ _mm256_maskz_expandloadu_epi8(__mmask32 __U, void const *__P)
|
|||
(__mmask8)(U)); })
|
||||
|
||||
#define _mm256_maskz_shrdi_epi64(U, A, B, I) \
|
||||
_mm256_mask_shrdi_epi64(_mm256_setzero_hi(), (U), (A), (B), (I))
|
||||
_mm256_mask_shrdi_epi64(_mm256_setzero_si256(), (U), (A), (B), (I))
|
||||
|
||||
#define _mm256_shrdi_epi64(A, B, I) \
|
||||
_mm256_mask_shrdi_epi64(_mm256_undefined_si256(), (__mmask8)(-1), (A), (B), (I))
|
||||
|
||||
#define _mm128_mask_shrdi_epi64(S, U, A, B, I) __extension__ ({ \
|
||||
#define _mm_mask_shrdi_epi64(S, U, A, B, I) __extension__ ({ \
|
||||
(__m128i)__builtin_ia32_vpshrdq128_mask((__v2di)(A), \
|
||||
(__v2di)(B), \
|
||||
(int)(I), \
|
||||
(__v2di)(S), \
|
||||
(__mmask8)(U)); })
|
||||
|
||||
#define _mm128_maskz_shrdi_epi64(U, A, B, I) \
|
||||
_mm128_mask_shrdi_epi64(_mm128_setzero_hi(), (U), (A), (B), (I))
|
||||
#define _mm_maskz_shrdi_epi64(U, A, B, I) \
|
||||
_mm_mask_shrdi_epi64(_mm_setzero_si128(), (U), (A), (B), (I))
|
||||
|
||||
#define _mm128_shrdi_epi64(A, B, I) \
|
||||
_mm128_mask_shrdi_epi64(_mm_undefined_si128(), (__mmask8)(-1), (A), (B), (I))
|
||||
#define _mm_shrdi_epi64(A, B, I) \
|
||||
_mm_mask_shrdi_epi64(_mm_undefined_si128(), (__mmask8)(-1), (A), (B), (I))
|
||||
|
||||
#define _mm256_mask_shrdi_epi32(S, U, A, B, I) __extension__ ({ \
|
||||
(__m256i)__builtin_ia32_vpshrdd256_mask((__v8si)(A), \
|
||||
|
@ -374,23 +363,23 @@ _mm256_maskz_expandloadu_epi8(__mmask32 __U, void const *__P)
|
|||
(__mmask8)(U)); })
|
||||
|
||||
#define _mm256_maskz_shrdi_epi32(U, A, B, I) \
|
||||
_mm256_mask_shrdi_epi32(_mm256_setzero_hi(), (U), (A), (B), (I))
|
||||
_mm256_mask_shrdi_epi32(_mm256_setzero_si256(), (U), (A), (B), (I))
|
||||
|
||||
#define _mm256_shrdi_epi32(A, B, I) \
|
||||
_mm256_mask_shrdi_epi32(_mm256_undefined_si256(), (__mmask8)(-1), (A), (B), (I))
|
||||
|
||||
#define _mm128_mask_shrdi_epi32(S, U, A, B, I) __extension__ ({ \
|
||||
#define _mm_mask_shrdi_epi32(S, U, A, B, I) __extension__ ({ \
|
||||
(__m128i)__builtin_ia32_vpshrdd128_mask((__v4si)(A), \
|
||||
(__v4si)(B), \
|
||||
(int)(I), \
|
||||
(__v4si)(S), \
|
||||
(__mmask8)(U)); })
|
||||
|
||||
#define _mm128_maskz_shrdi_epi32(U, A, B, I) \
|
||||
_mm128_mask_shrdi_epi32(_mm128_setzero_hi(), (U), (A), (B), (I))
|
||||
#define _mm_maskz_shrdi_epi32(U, A, B, I) \
|
||||
_mm_mask_shrdi_epi32(_mm_setzero_si128(), (U), (A), (B), (I))
|
||||
|
||||
#define _mm128_shrdi_epi32(A, B, I) \
|
||||
_mm128_mask_shrdi_epi32(_mm_undefined_si128(), (__mmask8)(-1), (A), (B), (I))
|
||||
#define _mm_shrdi_epi32(A, B, I) \
|
||||
_mm_mask_shrdi_epi32(_mm_undefined_si128(), (__mmask8)(-1), (A), (B), (I))
|
||||
|
||||
#define _mm256_mask_shrdi_epi16(S, U, A, B, I) __extension__ ({ \
|
||||
(__m256i)__builtin_ia32_vpshrdw256_mask((__v16hi)(A), \
|
||||
|
@ -400,23 +389,23 @@ _mm256_maskz_expandloadu_epi8(__mmask32 __U, void const *__P)
|
|||
(__mmask16)(U)); })
|
||||
|
||||
#define _mm256_maskz_shrdi_epi16(U, A, B, I) \
|
||||
_mm256_mask_shrdi_epi16(_mm256_setzero_hi(), (U), (A), (B), (I))
|
||||
_mm256_mask_shrdi_epi16(_mm256_setzero_si256(), (U), (A), (B), (I))
|
||||
|
||||
#define _mm256_shrdi_epi16(A, B, I) \
|
||||
_mm256_mask_shrdi_epi16(_mm256_undefined_si256(), (__mmask8)(-1), (A), (B), (I))
|
||||
|
||||
#define _mm128_mask_shrdi_epi16(S, U, A, B, I) __extension__ ({ \
|
||||
#define _mm_mask_shrdi_epi16(S, U, A, B, I) __extension__ ({ \
|
||||
(__m128i)__builtin_ia32_vpshrdw128_mask((__v8hi)(A), \
|
||||
(__v8hi)(B), \
|
||||
(int)(I), \
|
||||
(__v8hi)(S), \
|
||||
(__mmask8)(U)); })
|
||||
|
||||
#define _mm128_maskz_shrdi_epi16(U, A, B, I) \
|
||||
_mm128_mask_shrdi_epi16(_mm128_setzero_hi(), (U), (A), (B), (I))
|
||||
#define _mm_maskz_shrdi_epi16(U, A, B, I) \
|
||||
_mm_mask_shrdi_epi16(_mm_setzero_si128(), (U), (A), (B), (I))
|
||||
|
||||
#define _mm128_shrdi_epi16(A, B, I) \
|
||||
_mm128_mask_shrdi_epi16(_mm_undefined_si128(), (__mmask8)(-1), (A), (B), (I))
|
||||
#define _mm_shrdi_epi16(A, B, I) \
|
||||
_mm_mask_shrdi_epi16(_mm_undefined_si128(), (__mmask8)(-1), (A), (B), (I))
|
||||
|
||||
static __inline__ __m256i __DEFAULT_FN_ATTRS
|
||||
_mm256_mask_shldv_epi64(__m256i __S, __mmask8 __U, __m256i __A, __m256i __B)
|
||||
|
@ -446,7 +435,7 @@ _mm256_shldv_epi64(__m256i __S, __m256i __A, __m256i __B)
|
|||
}
|
||||
|
||||
static __inline__ __m128i __DEFAULT_FN_ATTRS
|
||||
_mm128_mask_shldv_epi64(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B)
|
||||
_mm_mask_shldv_epi64(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B)
|
||||
{
|
||||
return (__m128i) __builtin_ia32_vpshldvq128_mask ((__v2di) __S,
|
||||
(__v2di) __A,
|
||||
|
@ -455,7 +444,7 @@ _mm128_mask_shldv_epi64(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B)
|
|||
}
|
||||
|
||||
static __inline__ __m128i __DEFAULT_FN_ATTRS
|
||||
_mm128_maskz_shldv_epi64(__mmask8 __U, __m128i __S, __m128i __A, __m128i __B)
|
||||
_mm_maskz_shldv_epi64(__mmask8 __U, __m128i __S, __m128i __A, __m128i __B)
|
||||
{
|
||||
return (__m128i) __builtin_ia32_vpshldvq128_maskz ((__v2di) __S,
|
||||
(__v2di) __A,
|
||||
|
@ -464,7 +453,7 @@ _mm128_maskz_shldv_epi64(__mmask8 __U, __m128i __S, __m128i __A, __m128i __B)
|
|||
}
|
||||
|
||||
static __inline__ __m128i __DEFAULT_FN_ATTRS
|
||||
_mm128_shldv_epi64(__m128i __S, __m128i __A, __m128i __B)
|
||||
_mm_shldv_epi64(__m128i __S, __m128i __A, __m128i __B)
|
||||
{
|
||||
return (__m128i) __builtin_ia32_vpshldvq128_mask ((__v2di) __S,
|
||||
(__v2di) __A,
|
||||
|
@ -500,7 +489,7 @@ _mm256_shldv_epi32(__m256i __S, __m256i __A, __m256i __B)
|
|||
}
|
||||
|
||||
static __inline__ __m128i __DEFAULT_FN_ATTRS
|
||||
_mm128_mask_shldv_epi32(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B)
|
||||
_mm_mask_shldv_epi32(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B)
|
||||
{
|
||||
return (__m128i) __builtin_ia32_vpshldvd128_mask ((__v4si) __S,
|
||||
(__v4si) __A,
|
||||
|
@ -509,7 +498,7 @@ _mm128_mask_shldv_epi32(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B)
|
|||
}
|
||||
|
||||
static __inline__ __m128i __DEFAULT_FN_ATTRS
|
||||
_mm128_maskz_shldv_epi32(__mmask8 __U, __m128i __S, __m128i __A, __m128i __B)
|
||||
_mm_maskz_shldv_epi32(__mmask8 __U, __m128i __S, __m128i __A, __m128i __B)
|
||||
{
|
||||
return (__m128i) __builtin_ia32_vpshldvd128_maskz ((__v4si) __S,
|
||||
(__v4si) __A,
|
||||
|
@ -518,7 +507,7 @@ _mm128_maskz_shldv_epi32(__mmask8 __U, __m128i __S, __m128i __A, __m128i __B)
|
|||
}
|
||||
|
||||
static __inline__ __m128i __DEFAULT_FN_ATTRS
|
||||
_mm128_shldv_epi32(__m128i __S, __m128i __A, __m128i __B)
|
||||
_mm_shldv_epi32(__m128i __S, __m128i __A, __m128i __B)
|
||||
{
|
||||
return (__m128i) __builtin_ia32_vpshldvd128_mask ((__v4si) __S,
|
||||
(__v4si) __A,
|
||||
|
@ -554,7 +543,7 @@ _mm256_shldv_epi16(__m256i __S, __m256i __A, __m256i __B)
|
|||
}
|
||||
|
||||
static __inline__ __m128i __DEFAULT_FN_ATTRS
|
||||
_mm128_mask_shldv_epi16(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B)
|
||||
_mm_mask_shldv_epi16(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B)
|
||||
{
|
||||
return (__m128i) __builtin_ia32_vpshldvw128_mask ((__v8hi) __S,
|
||||
(__v8hi) __A,
|
||||
|
@ -563,7 +552,7 @@ _mm128_mask_shldv_epi16(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B)
|
|||
}
|
||||
|
||||
static __inline__ __m128i __DEFAULT_FN_ATTRS
|
||||
_mm128_maskz_shldv_epi16(__mmask8 __U, __m128i __S, __m128i __A, __m128i __B)
|
||||
_mm_maskz_shldv_epi16(__mmask8 __U, __m128i __S, __m128i __A, __m128i __B)
|
||||
{
|
||||
return (__m128i) __builtin_ia32_vpshldvw128_maskz ((__v8hi) __S,
|
||||
(__v8hi) __A,
|
||||
|
@ -572,7 +561,7 @@ _mm128_maskz_shldv_epi16(__mmask8 __U, __m128i __S, __m128i __A, __m128i __B)
|
|||
}
|
||||
|
||||
static __inline__ __m128i __DEFAULT_FN_ATTRS
|
||||
_mm128_shldv_epi16(__m128i __S, __m128i __A, __m128i __B)
|
||||
_mm_shldv_epi16(__m128i __S, __m128i __A, __m128i __B)
|
||||
{
|
||||
return (__m128i) __builtin_ia32_vpshldvw128_mask ((__v8hi) __S,
|
||||
(__v8hi) __A,
|
||||
|
@ -608,7 +597,7 @@ _mm256_shrdv_epi64(__m256i __S, __m256i __A, __m256i __B)
|
|||
}
|
||||
|
||||
static __inline__ __m128i __DEFAULT_FN_ATTRS
|
||||
_mm128_mask_shrdv_epi64(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B)
|
||||
_mm_mask_shrdv_epi64(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B)
|
||||
{
|
||||
return (__m128i) __builtin_ia32_vpshrdvq128_mask ((__v2di) __S,
|
||||
(__v2di) __A,
|
||||
|
@ -617,7 +606,7 @@ _mm128_mask_shrdv_epi64(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B)
|
|||
}
|
||||
|
||||
static __inline__ __m128i __DEFAULT_FN_ATTRS
|
||||
_mm128_maskz_shrdv_epi64(__mmask8 __U, __m128i __S, __m128i __A, __m128i __B)
|
||||
_mm_maskz_shrdv_epi64(__mmask8 __U, __m128i __S, __m128i __A, __m128i __B)
|
||||
{
|
||||
return (__m128i) __builtin_ia32_vpshrdvq128_maskz ((__v2di) __S,
|
||||
(__v2di) __A,
|
||||
|
@ -626,7 +615,7 @@ _mm128_maskz_shrdv_epi64(__mmask8 __U, __m128i __S, __m128i __A, __m128i __B)
|
|||
}
|
||||
|
||||
static __inline__ __m128i __DEFAULT_FN_ATTRS
|
||||
_mm128_shrdv_epi64(__m128i __S, __m128i __A, __m128i __B)
|
||||
_mm_shrdv_epi64(__m128i __S, __m128i __A, __m128i __B)
|
||||
{
|
||||
return (__m128i) __builtin_ia32_vpshrdvq128_mask ((__v2di) __S,
|
||||
(__v2di) __A,
|
||||
|
@ -662,7 +651,7 @@ _mm256_shrdv_epi32(__m256i __S, __m256i __A, __m256i __B)
|
|||
}
|
||||
|
||||
static __inline__ __m128i __DEFAULT_FN_ATTRS
|
||||
_mm128_mask_shrdv_epi32(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B)
|
||||
_mm_mask_shrdv_epi32(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B)
|
||||
{
|
||||
return (__m128i) __builtin_ia32_vpshrdvd128_mask ((__v4si) __S,
|
||||
(__v4si) __A,
|
||||
|
@ -671,7 +660,7 @@ _mm128_mask_shrdv_epi32(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B)
|
|||
}
|
||||
|
||||
static __inline__ __m128i __DEFAULT_FN_ATTRS
|
||||
_mm128_maskz_shrdv_epi32(__mmask8 __U, __m128i __S, __m128i __A, __m128i __B)
|
||||
_mm_maskz_shrdv_epi32(__mmask8 __U, __m128i __S, __m128i __A, __m128i __B)
|
||||
{
|
||||
return (__m128i) __builtin_ia32_vpshrdvd128_maskz ((__v4si) __S,
|
||||
(__v4si) __A,
|
||||
|
@ -680,7 +669,7 @@ _mm128_maskz_shrdv_epi32(__mmask8 __U, __m128i __S, __m128i __A, __m128i __B)
|
|||
}
|
||||
|
||||
static __inline__ __m128i __DEFAULT_FN_ATTRS
|
||||
_mm128_shrdv_epi32(__m128i __S, __m128i __A, __m128i __B)
|
||||
_mm_shrdv_epi32(__m128i __S, __m128i __A, __m128i __B)
|
||||
{
|
||||
return (__m128i) __builtin_ia32_vpshrdvd128_mask ((__v4si) __S,
|
||||
(__v4si) __A,
|
||||
|
@ -716,7 +705,7 @@ _mm256_shrdv_epi16(__m256i __S, __m256i __A, __m256i __B)
|
|||
}
|
||||
|
||||
static __inline__ __m128i __DEFAULT_FN_ATTRS
|
||||
_mm128_mask_shrdv_epi16(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B)
|
||||
_mm_mask_shrdv_epi16(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B)
|
||||
{
|
||||
return (__m128i) __builtin_ia32_vpshrdvw128_mask ((__v8hi) __S,
|
||||
(__v8hi) __A,
|
||||
|
@ -725,7 +714,7 @@ _mm128_mask_shrdv_epi16(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B)
|
|||
}
|
||||
|
||||
static __inline__ __m128i __DEFAULT_FN_ATTRS
|
||||
_mm128_maskz_shrdv_epi16(__mmask8 __U, __m128i __S, __m128i __A, __m128i __B)
|
||||
_mm_maskz_shrdv_epi16(__mmask8 __U, __m128i __S, __m128i __A, __m128i __B)
|
||||
{
|
||||
return (__m128i) __builtin_ia32_vpshrdvw128_maskz ((__v8hi) __S,
|
||||
(__v8hi) __A,
|
||||
|
@ -734,7 +723,7 @@ _mm128_maskz_shrdv_epi16(__mmask8 __U, __m128i __S, __m128i __A, __m128i __B)
|
|||
}
|
||||
|
||||
static __inline__ __m128i __DEFAULT_FN_ATTRS
|
||||
_mm128_shrdv_epi16(__m128i __S, __m128i __A, __m128i __B)
|
||||
_mm_shrdv_epi16(__m128i __S, __m128i __A, __m128i __B)
|
||||
{
|
||||
return (__m128i) __builtin_ia32_vpshrdvw128_mask ((__v8hi) __S,
|
||||
(__v8hi) __A,
|
||||
|
|
|
@ -141,7 +141,7 @@ _mm256_dpwssds_epi32(__m256i __S, __m256i __A, __m256i __B)
|
|||
}
|
||||
|
||||
static __inline__ __m128i __DEFAULT_FN_ATTRS
|
||||
_mm128_mask_dpbusd_epi32(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B)
|
||||
_mm_mask_dpbusd_epi32(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B)
|
||||
{
|
||||
return (__m128i) __builtin_ia32_vpdpbusd128_mask ((__v4si) __S,
|
||||
(__v4si) __A,
|
||||
|
@ -150,7 +150,7 @@ _mm128_mask_dpbusd_epi32(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B)
|
|||
}
|
||||
|
||||
static __inline__ __m128i __DEFAULT_FN_ATTRS
|
||||
_mm128_maskz_dpbusd_epi32(__mmask8 __U, __m128i __S, __m128i __A, __m128i __B)
|
||||
_mm_maskz_dpbusd_epi32(__mmask8 __U, __m128i __S, __m128i __A, __m128i __B)
|
||||
{
|
||||
return (__m128i) __builtin_ia32_vpdpbusd128_maskz ((__v4si) __S,
|
||||
(__v4si) __A,
|
||||
|
@ -159,7 +159,7 @@ _mm128_maskz_dpbusd_epi32(__mmask8 __U, __m128i __S, __m128i __A, __m128i __B)
|
|||
}
|
||||
|
||||
static __inline__ __m128i __DEFAULT_FN_ATTRS
|
||||
_mm128_dpbusd_epi32(__m128i __S, __m128i __A, __m128i __B)
|
||||
_mm_dpbusd_epi32(__m128i __S, __m128i __A, __m128i __B)
|
||||
{
|
||||
return (__m128i) __builtin_ia32_vpdpbusd128_mask ((__v4si) __S,
|
||||
(__v4si) __A,
|
||||
|
@ -168,7 +168,7 @@ _mm128_dpbusd_epi32(__m128i __S, __m128i __A, __m128i __B)
|
|||
}
|
||||
|
||||
static __inline__ __m128i __DEFAULT_FN_ATTRS
|
||||
_mm128_mask_dpbusds_epi32(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B)
|
||||
_mm_mask_dpbusds_epi32(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B)
|
||||
{
|
||||
return (__m128i) __builtin_ia32_vpdpbusds128_mask ((__v4si) __S,
|
||||
(__v4si) __A,
|
||||
|
@ -177,7 +177,7 @@ _mm128_mask_dpbusds_epi32(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B)
|
|||
}
|
||||
|
||||
static __inline__ __m128i __DEFAULT_FN_ATTRS
|
||||
_mm128_maskz_dpbusds_epi32(__mmask8 __U, __m128i __S, __m128i __A, __m128i __B)
|
||||
_mm_maskz_dpbusds_epi32(__mmask8 __U, __m128i __S, __m128i __A, __m128i __B)
|
||||
{
|
||||
return (__m128i) __builtin_ia32_vpdpbusds128_maskz ((__v4si) __S,
|
||||
(__v4si) __A,
|
||||
|
@ -186,7 +186,7 @@ _mm128_maskz_dpbusds_epi32(__mmask8 __U, __m128i __S, __m128i __A, __m128i __B)
|
|||
}
|
||||
|
||||
static __inline__ __m128i __DEFAULT_FN_ATTRS
|
||||
_mm128_dpbusds_epi32(__m128i __S, __m128i __A, __m128i __B)
|
||||
_mm_dpbusds_epi32(__m128i __S, __m128i __A, __m128i __B)
|
||||
{
|
||||
return (__m128i) __builtin_ia32_vpdpbusds128_mask ((__v4si) __S,
|
||||
(__v4si) __A,
|
||||
|
@ -195,7 +195,7 @@ _mm128_dpbusds_epi32(__m128i __S, __m128i __A, __m128i __B)
|
|||
}
|
||||
|
||||
static __inline__ __m128i __DEFAULT_FN_ATTRS
|
||||
_mm128_mask_dpwssd_epi32(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B)
|
||||
_mm_mask_dpwssd_epi32(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B)
|
||||
{
|
||||
return (__m128i) __builtin_ia32_vpdpwssd128_mask ((__v4si) __S,
|
||||
(__v4si) __A,
|
||||
|
@ -204,7 +204,7 @@ _mm128_mask_dpwssd_epi32(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B)
|
|||
}
|
||||
|
||||
static __inline__ __m128i __DEFAULT_FN_ATTRS
|
||||
_mm128_maskz_dpwssd_epi32(__mmask8 __U, __m128i __S, __m128i __A, __m128i __B)
|
||||
_mm_maskz_dpwssd_epi32(__mmask8 __U, __m128i __S, __m128i __A, __m128i __B)
|
||||
{
|
||||
return (__m128i) __builtin_ia32_vpdpwssd128_maskz ((__v4si) __S,
|
||||
(__v4si) __A,
|
||||
|
@ -213,7 +213,7 @@ _mm128_maskz_dpwssd_epi32(__mmask8 __U, __m128i __S, __m128i __A, __m128i __B)
|
|||
}
|
||||
|
||||
static __inline__ __m128i __DEFAULT_FN_ATTRS
|
||||
_mm128_dpwssd_epi32(__m128i __S, __m128i __A, __m128i __B)
|
||||
_mm_dpwssd_epi32(__m128i __S, __m128i __A, __m128i __B)
|
||||
{
|
||||
return (__m128i) __builtin_ia32_vpdpwssd128_mask ((__v4si) __S,
|
||||
(__v4si) __A,
|
||||
|
@ -222,7 +222,7 @@ _mm128_dpwssd_epi32(__m128i __S, __m128i __A, __m128i __B)
|
|||
}
|
||||
|
||||
static __inline__ __m128i __DEFAULT_FN_ATTRS
|
||||
_mm128_mask_dpwssds_epi32(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B)
|
||||
_mm_mask_dpwssds_epi32(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B)
|
||||
{
|
||||
return (__m128i) __builtin_ia32_vpdpwssds128_mask ((__v4si) __S,
|
||||
(__v4si) __A,
|
||||
|
@ -231,7 +231,7 @@ _mm128_mask_dpwssds_epi32(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B)
|
|||
}
|
||||
|
||||
static __inline__ __m128i __DEFAULT_FN_ATTRS
|
||||
_mm128_maskz_dpwssds_epi32(__mmask8 __U, __m128i __S, __m128i __A, __m128i __B)
|
||||
_mm_maskz_dpwssds_epi32(__mmask8 __U, __m128i __S, __m128i __A, __m128i __B)
|
||||
{
|
||||
return (__m128i) __builtin_ia32_vpdpwssds128_maskz ((__v4si) __S,
|
||||
(__v4si) __A,
|
||||
|
@ -240,7 +240,7 @@ _mm128_maskz_dpwssds_epi32(__mmask8 __U, __m128i __S, __m128i __A, __m128i __B)
|
|||
}
|
||||
|
||||
static __inline__ __m128i __DEFAULT_FN_ATTRS
|
||||
_mm128_dpwssds_epi32(__m128i __S, __m128i __A, __m128i __B)
|
||||
_mm_dpwssds_epi32(__m128i __S, __m128i __A, __m128i __B)
|
||||
{
|
||||
return (__m128i) __builtin_ia32_vpdpwssds128_mask ((__v4si) __S,
|
||||
(__v4si) __A,
|
||||
|
|
|
@ -21,23 +21,23 @@ __m256i test_mm256_maskz_popcnt_epi16(__mmask16 __U, __m256i __B) {
|
|||
return _mm256_maskz_popcnt_epi16(__U, __B);
|
||||
}
|
||||
|
||||
__m128i test_mm128_popcnt_epi16(__m128i __A) {
|
||||
// CHECK-LABEL: @test_mm128_popcnt_epi16
|
||||
__m128i test_mm_popcnt_epi16(__m128i __A) {
|
||||
// CHECK-LABEL: @test_mm_popcnt_epi16
|
||||
// CHECK: @llvm.ctpop.v8i16
|
||||
return _mm128_popcnt_epi16(__A);
|
||||
return _mm_popcnt_epi16(__A);
|
||||
}
|
||||
|
||||
__m128i test_mm128_mask_popcnt_epi16(__m128i __A, __mmask8 __U, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm128_mask_popcnt_epi16
|
||||
__m128i test_mm_mask_popcnt_epi16(__m128i __A, __mmask8 __U, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm_mask_popcnt_epi16
|
||||
// CHECK: @llvm.ctpop.v8i16
|
||||
// CHECK: select <8 x i1> %{{[0-9]+}}, <8 x i16> %{{[0-9]+}}, <8 x i16> {{.*}}
|
||||
return _mm128_mask_popcnt_epi16(__A, __U, __B);
|
||||
return _mm_mask_popcnt_epi16(__A, __U, __B);
|
||||
}
|
||||
__m128i test_mm128_maskz_popcnt_epi16(__mmask8 __U, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm128_maskz_popcnt_epi16
|
||||
__m128i test_mm_maskz_popcnt_epi16(__mmask8 __U, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm_maskz_popcnt_epi16
|
||||
// CHECK: @llvm.ctpop.v8i16
|
||||
// CHECK: select <8 x i1> %{{[0-9]+}}, <8 x i16> %{{[0-9]+}}, <8 x i16> {{.*}}
|
||||
return _mm128_maskz_popcnt_epi16(__U, __B);
|
||||
return _mm_maskz_popcnt_epi16(__U, __B);
|
||||
}
|
||||
|
||||
__m256i test_mm256_popcnt_epi8(__m256i __A) {
|
||||
|
@ -59,46 +59,46 @@ __m256i test_mm256_maskz_popcnt_epi8(__mmask32 __U, __m256i __B) {
|
|||
return _mm256_maskz_popcnt_epi8(__U, __B);
|
||||
}
|
||||
|
||||
__m128i test_mm128_popcnt_epi8(__m128i __A) {
|
||||
// CHECK-LABEL: @test_mm128_popcnt_epi8
|
||||
__m128i test_mm_popcnt_epi8(__m128i __A) {
|
||||
// CHECK-LABEL: @test_mm_popcnt_epi8
|
||||
// CHECK: @llvm.ctpop.v16i8
|
||||
return _mm128_popcnt_epi8(__A);
|
||||
return _mm_popcnt_epi8(__A);
|
||||
}
|
||||
|
||||
__m128i test_mm128_mask_popcnt_epi8(__m128i __A, __mmask16 __U, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm128_mask_popcnt_epi8
|
||||
__m128i test_mm_mask_popcnt_epi8(__m128i __A, __mmask16 __U, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm_mask_popcnt_epi8
|
||||
// CHECK: @llvm.ctpop.v16i8
|
||||
// CHECK: select <16 x i1> %{{[0-9]+}}, <16 x i8> %{{[0-9]+}}, <16 x i8> {{.*}}
|
||||
return _mm128_mask_popcnt_epi8(__A, __U, __B);
|
||||
return _mm_mask_popcnt_epi8(__A, __U, __B);
|
||||
}
|
||||
__m128i test_mm128_maskz_popcnt_epi8(__mmask16 __U, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm128_maskz_popcnt_epi8
|
||||
__m128i test_mm_maskz_popcnt_epi8(__mmask16 __U, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm_maskz_popcnt_epi8
|
||||
// CHECK: @llvm.ctpop.v16i8
|
||||
// CHECK: select <16 x i1> %{{[0-9]+}}, <16 x i8> %{{[0-9]+}}, <16 x i8> {{.*}}
|
||||
return _mm128_maskz_popcnt_epi8(__U, __B);
|
||||
return _mm_maskz_popcnt_epi8(__U, __B);
|
||||
}
|
||||
|
||||
__mmask32 test_mm256_mask_bitshuffle_epi32_mask(__mmask32 __U, __m256i __A, __m256i __B) {
|
||||
// CHECK-LABEL: @test_mm256_mask_bitshuffle_epi32_mask
|
||||
__mmask32 test_mm256_mask_bitshuffle_epi64_mask(__mmask32 __U, __m256i __A, __m256i __B) {
|
||||
// CHECK-LABEL: @test_mm256_mask_bitshuffle_epi64_mask
|
||||
// CHECK: @llvm.x86.avx512.mask.vpshufbitqmb.256
|
||||
return _mm256_mask_bitshuffle_epi32_mask(__U, __A, __B);
|
||||
return _mm256_mask_bitshuffle_epi64_mask(__U, __A, __B);
|
||||
}
|
||||
|
||||
__mmask32 test_mm256_bitshuffle_epi32_mask(__m256i __A, __m256i __B) {
|
||||
// CHECK-LABEL: @test_mm256_bitshuffle_epi32_mask
|
||||
__mmask32 test_mm256_bitshuffle_epi64_mask(__m256i __A, __m256i __B) {
|
||||
// CHECK-LABEL: @test_mm256_bitshuffle_epi64_mask
|
||||
// CHECK: @llvm.x86.avx512.mask.vpshufbitqmb.256
|
||||
return _mm256_bitshuffle_epi32_mask(__A, __B);
|
||||
return _mm256_bitshuffle_epi64_mask(__A, __B);
|
||||
}
|
||||
|
||||
__mmask16 test_mm128_mask_bitshuffle_epi16_mask(__mmask16 __U, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm128_mask_bitshuffle_epi16_mask
|
||||
__mmask16 test_mm_mask_bitshuffle_epi64_mask(__mmask16 __U, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm_mask_bitshuffle_epi64_mask
|
||||
// CHECK: @llvm.x86.avx512.mask.vpshufbitqmb.128
|
||||
return _mm128_mask_bitshuffle_epi16_mask(__U, __A, __B);
|
||||
return _mm_mask_bitshuffle_epi64_mask(__U, __A, __B);
|
||||
}
|
||||
|
||||
__mmask16 test_mm128_bitshuffle_epi16_mask(__m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm128_bitshuffle_epi16_mask
|
||||
__mmask16 test_mm_bitshuffle_epi64_mask(__m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm_bitshuffle_epi64_mask
|
||||
// CHECK: @llvm.x86.avx512.mask.vpshufbitqmb.128
|
||||
return _mm128_bitshuffle_epi16_mask(__A, __B);
|
||||
return _mm_bitshuffle_epi64_mask(__A, __B);
|
||||
}
|
||||
|
||||
|
|
|
@ -2,88 +2,88 @@
|
|||
|
||||
#include <immintrin.h>
|
||||
|
||||
__m128i test_mm128_mask_compress_epi16(__m128i __S, __mmask8 __U, __m128i __D) {
|
||||
// CHECK-LABEL: @test_mm128_mask_compress_epi16
|
||||
__m128i test_mm_mask_compress_epi16(__m128i __S, __mmask8 __U, __m128i __D) {
|
||||
// CHECK-LABEL: @test_mm_mask_compress_epi16
|
||||
// CHECK: @llvm.x86.avx512.mask.compress.w.128
|
||||
return _mm128_mask_compress_epi16(__S, __U, __D);
|
||||
return _mm_mask_compress_epi16(__S, __U, __D);
|
||||
}
|
||||
|
||||
__m128i test_mm128_maskz_compress_epi16(__mmask8 __U, __m128i __D) {
|
||||
// CHECK-LABEL: @test_mm128_maskz_compress_epi16
|
||||
__m128i test_mm_maskz_compress_epi16(__mmask8 __U, __m128i __D) {
|
||||
// CHECK-LABEL: @test_mm_maskz_compress_epi16
|
||||
// CHECK: @llvm.x86.avx512.mask.compress.w.128
|
||||
return _mm128_maskz_compress_epi16(__U, __D);
|
||||
return _mm_maskz_compress_epi16(__U, __D);
|
||||
}
|
||||
|
||||
__m128i test_mm128_mask_compress_epi8(__m128i __S, __mmask16 __U, __m128i __D) {
|
||||
// CHECK-LABEL: @test_mm128_mask_compress_epi8
|
||||
__m128i test_mm_mask_compress_epi8(__m128i __S, __mmask16 __U, __m128i __D) {
|
||||
// CHECK-LABEL: @test_mm_mask_compress_epi8
|
||||
// CHECK: @llvm.x86.avx512.mask.compress.b.128
|
||||
return _mm128_mask_compress_epi8(__S, __U, __D);
|
||||
return _mm_mask_compress_epi8(__S, __U, __D);
|
||||
}
|
||||
|
||||
__m128i test_mm128_maskz_compress_epi8(__mmask16 __U, __m128i __D) {
|
||||
// CHECK-LABEL: @test_mm128_maskz_compress_epi8
|
||||
__m128i test_mm_maskz_compress_epi8(__mmask16 __U, __m128i __D) {
|
||||
// CHECK-LABEL: @test_mm_maskz_compress_epi8
|
||||
// CHECK: @llvm.x86.avx512.mask.compress.b.128
|
||||
return _mm128_maskz_compress_epi8(__U, __D);
|
||||
return _mm_maskz_compress_epi8(__U, __D);
|
||||
}
|
||||
|
||||
void test_mm128_mask_compressstoreu_epi16(void *__P, __mmask8 __U, __m128i __D) {
|
||||
// CHECK-LABEL: @test_mm128_mask_compressstoreu_epi16
|
||||
void test_mm_mask_compressstoreu_epi16(void *__P, __mmask8 __U, __m128i __D) {
|
||||
// CHECK-LABEL: @test_mm_mask_compressstoreu_epi16
|
||||
// CHECK: @llvm.x86.avx512.mask.compress.store.w.128
|
||||
_mm128_mask_compressstoreu_epi16(__P, __U, __D);
|
||||
_mm_mask_compressstoreu_epi16(__P, __U, __D);
|
||||
}
|
||||
|
||||
void test_mm128_mask_compressstoreu_epi8(void *__P, __mmask16 __U, __m128i __D) {
|
||||
// CHECK-LABEL: @test_mm128_mask_compressstoreu_epi8
|
||||
void test_mm_mask_compressstoreu_epi8(void *__P, __mmask16 __U, __m128i __D) {
|
||||
// CHECK-LABEL: @test_mm_mask_compressstoreu_epi8
|
||||
// CHECK: @llvm.x86.avx512.mask.compress.store.b.128
|
||||
_mm128_mask_compressstoreu_epi8(__P, __U, __D);
|
||||
_mm_mask_compressstoreu_epi8(__P, __U, __D);
|
||||
}
|
||||
|
||||
__m128i test_mm128_mask_expand_epi16(__m128i __S, __mmask8 __U, __m128i __D) {
|
||||
// CHECK-LABEL: @test_mm128_mask_expand_epi16
|
||||
__m128i test_mm_mask_expand_epi16(__m128i __S, __mmask8 __U, __m128i __D) {
|
||||
// CHECK-LABEL: @test_mm_mask_expand_epi16
|
||||
// CHECK: @llvm.x86.avx512.mask.expand.w.128
|
||||
return _mm128_mask_expand_epi16(__S, __U, __D);
|
||||
return _mm_mask_expand_epi16(__S, __U, __D);
|
||||
}
|
||||
|
||||
__m128i test_mm128_maskz_expand_epi16(__mmask8 __U, __m128i __D) {
|
||||
// CHECK-LABEL: @test_mm128_maskz_expand_epi16
|
||||
__m128i test_mm_maskz_expand_epi16(__mmask8 __U, __m128i __D) {
|
||||
// CHECK-LABEL: @test_mm_maskz_expand_epi16
|
||||
// CHECK: @llvm.x86.avx512.mask.expand.w.128
|
||||
return _mm128_maskz_expand_epi16(__U, __D);
|
||||
return _mm_maskz_expand_epi16(__U, __D);
|
||||
}
|
||||
|
||||
__m128i test_mm128_mask_expand_epi8(__m128i __S, __mmask16 __U, __m128i __D) {
|
||||
// CHECK-LABEL: @test_mm128_mask_expand_epi8
|
||||
__m128i test_mm_mask_expand_epi8(__m128i __S, __mmask16 __U, __m128i __D) {
|
||||
// CHECK-LABEL: @test_mm_mask_expand_epi8
|
||||
// CHECK: @llvm.x86.avx512.mask.expand.b.128
|
||||
return _mm128_mask_expand_epi8(__S, __U, __D);
|
||||
return _mm_mask_expand_epi8(__S, __U, __D);
|
||||
}
|
||||
|
||||
__m128i test_mm128_maskz_expand_epi8(__mmask16 __U, __m128i __D) {
|
||||
// CHECK-LABEL: @test_mm128_maskz_expand_epi8
|
||||
__m128i test_mm_maskz_expand_epi8(__mmask16 __U, __m128i __D) {
|
||||
// CHECK-LABEL: @test_mm_maskz_expand_epi8
|
||||
// CHECK: @llvm.x86.avx512.mask.expand.b.128
|
||||
return _mm128_maskz_expand_epi8(__U, __D);
|
||||
return _mm_maskz_expand_epi8(__U, __D);
|
||||
}
|
||||
|
||||
__m128i test_mm128_mask_expandloadu_epi16(__m128i __S, __mmask8 __U, void const* __P) {
|
||||
// CHECK-LABEL: @test_mm128_mask_expandloadu_epi16
|
||||
__m128i test_mm_mask_expandloadu_epi16(__m128i __S, __mmask8 __U, void const* __P) {
|
||||
// CHECK-LABEL: @test_mm_mask_expandloadu_epi16
|
||||
// CHECK: @llvm.x86.avx512.mask.expand.load.w.128
|
||||
return _mm128_mask_expandloadu_epi16(__S, __U, __P);
|
||||
return _mm_mask_expandloadu_epi16(__S, __U, __P);
|
||||
}
|
||||
|
||||
__m128i test_mm128_maskz_expandloadu_epi16(__mmask8 __U, void const* __P) {
|
||||
// CHECK-LABEL: @test_mm128_maskz_expandloadu_epi16
|
||||
__m128i test_mm_maskz_expandloadu_epi16(__mmask8 __U, void const* __P) {
|
||||
// CHECK-LABEL: @test_mm_maskz_expandloadu_epi16
|
||||
// CHECK: @llvm.x86.avx512.mask.expand.load.w.128
|
||||
return _mm128_maskz_expandloadu_epi16(__U, __P);
|
||||
return _mm_maskz_expandloadu_epi16(__U, __P);
|
||||
}
|
||||
|
||||
__m128i test_mm128_mask_expandloadu_epi8(__m128i __S, __mmask16 __U, void const* __P) {
|
||||
// CHECK-LABEL: @test_mm128_mask_expandloadu_epi8
|
||||
__m128i test_mm_mask_expandloadu_epi8(__m128i __S, __mmask16 __U, void const* __P) {
|
||||
// CHECK-LABEL: @test_mm_mask_expandloadu_epi8
|
||||
// CHECK: @llvm.x86.avx512.mask.expand.load.b.128
|
||||
return _mm128_mask_expandloadu_epi8(__S, __U, __P);
|
||||
return _mm_mask_expandloadu_epi8(__S, __U, __P);
|
||||
}
|
||||
|
||||
__m128i test_mm128_maskz_expandloadu_epi8(__mmask16 __U, void const* __P) {
|
||||
// CHECK-LABEL: @test_mm128_maskz_expandloadu_epi8
|
||||
__m128i test_mm_maskz_expandloadu_epi8(__mmask16 __U, void const* __P) {
|
||||
// CHECK-LABEL: @test_mm_maskz_expandloadu_epi8
|
||||
// CHECK: @llvm.x86.avx512.mask.expand.load.b.128
|
||||
return _mm128_maskz_expandloadu_epi8(__U, __P);
|
||||
return _mm_maskz_expandloadu_epi8(__U, __P);
|
||||
}
|
||||
|
||||
__m256i test_mm256_mask_compress_epi16(__m256i __S, __mmask16 __U, __m256i __D) {
|
||||
|
@ -188,22 +188,22 @@ __m256i test_mm256_shldi_epi64(__m256i __A, __m256i __B) {
|
|||
return _mm256_shldi_epi64(__A, __B, 31);
|
||||
}
|
||||
|
||||
__m128i test_mm128_mask_shldi_epi64(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm128_mask_shldi_epi64
|
||||
__m128i test_mm_mask_shldi_epi64(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm_mask_shldi_epi64
|
||||
// CHECK: @llvm.x86.avx512.mask.vpshld.q.128
|
||||
return _mm128_mask_shldi_epi64(__S, __U, __A, __B, 127);
|
||||
return _mm_mask_shldi_epi64(__S, __U, __A, __B, 127);
|
||||
}
|
||||
|
||||
__m128i test_mm128_maskz_shldi_epi64(__mmask8 __U, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm128_maskz_shldi_epi64
|
||||
__m128i test_mm_maskz_shldi_epi64(__mmask8 __U, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm_maskz_shldi_epi64
|
||||
// CHECK: @llvm.x86.avx512.mask.vpshld.q.128
|
||||
return _mm128_maskz_shldi_epi64(__U, __A, __B, 63);
|
||||
return _mm_maskz_shldi_epi64(__U, __A, __B, 63);
|
||||
}
|
||||
|
||||
__m128i test_mm128_shldi_epi64(__m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm128_shldi_epi64
|
||||
__m128i test_mm_shldi_epi64(__m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm_shldi_epi64
|
||||
// CHECK: @llvm.x86.avx512.mask.vpshld.q.128
|
||||
return _mm128_shldi_epi64(__A, __B, 31);
|
||||
return _mm_shldi_epi64(__A, __B, 31);
|
||||
}
|
||||
|
||||
__m256i test_mm256_mask_shldi_epi32(__m256i __S, __mmask8 __U, __m256i __A, __m256i __B) {
|
||||
|
@ -224,22 +224,22 @@ __m256i test_mm256_shldi_epi32(__m256i __A, __m256i __B) {
|
|||
return _mm256_shldi_epi32(__A, __B, 31);
|
||||
}
|
||||
|
||||
__m128i test_mm128_mask_shldi_epi32(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm128_mask_shldi_epi32
|
||||
__m128i test_mm_mask_shldi_epi32(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm_mask_shldi_epi32
|
||||
// CHECK: @llvm.x86.avx512.mask.vpshld.d.128
|
||||
return _mm128_mask_shldi_epi32(__S, __U, __A, __B, 127);
|
||||
return _mm_mask_shldi_epi32(__S, __U, __A, __B, 127);
|
||||
}
|
||||
|
||||
__m128i test_mm128_maskz_shldi_epi32(__mmask8 __U, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm128_maskz_shldi_epi32
|
||||
__m128i test_mm_maskz_shldi_epi32(__mmask8 __U, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm_maskz_shldi_epi32
|
||||
// CHECK: @llvm.x86.avx512.mask.vpshld.d.128
|
||||
return _mm128_maskz_shldi_epi32(__U, __A, __B, 63);
|
||||
return _mm_maskz_shldi_epi32(__U, __A, __B, 63);
|
||||
}
|
||||
|
||||
__m128i test_mm128_shldi_epi32(__m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm128_shldi_epi32
|
||||
__m128i test_mm_shldi_epi32(__m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm_shldi_epi32
|
||||
// CHECK: @llvm.x86.avx512.mask.vpshld.d.128
|
||||
return _mm128_shldi_epi32(__A, __B, 31);
|
||||
return _mm_shldi_epi32(__A, __B, 31);
|
||||
}
|
||||
|
||||
__m256i test_mm256_mask_shldi_epi16(__m256i __S, __mmask16 __U, __m256i __A, __m256i __B) {
|
||||
|
@ -260,22 +260,22 @@ __m256i test_mm256_shldi_epi16(__m256i __A, __m256i __B) {
|
|||
return _mm256_shldi_epi16(__A, __B, 31);
|
||||
}
|
||||
|
||||
__m128i test_mm128_mask_shldi_epi16(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm128_mask_shldi_epi16
|
||||
__m128i test_mm_mask_shldi_epi16(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm_mask_shldi_epi16
|
||||
// CHECK: @llvm.x86.avx512.mask.vpshld.w.128
|
||||
return _mm128_mask_shldi_epi16(__S, __U, __A, __B, 127);
|
||||
return _mm_mask_shldi_epi16(__S, __U, __A, __B, 127);
|
||||
}
|
||||
|
||||
__m128i test_mm128_maskz_shldi_epi16(__mmask8 __U, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm128_maskz_shldi_epi16
|
||||
__m128i test_mm_maskz_shldi_epi16(__mmask8 __U, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm_maskz_shldi_epi16
|
||||
// CHECK: @llvm.x86.avx512.mask.vpshld.w.128
|
||||
return _mm128_maskz_shldi_epi16(__U, __A, __B, 63);
|
||||
return _mm_maskz_shldi_epi16(__U, __A, __B, 63);
|
||||
}
|
||||
|
||||
__m128i test_mm128_shldi_epi16(__m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm128_shldi_epi16
|
||||
__m128i test_mm_shldi_epi16(__m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm_shldi_epi16
|
||||
// CHECK: @llvm.x86.avx512.mask.vpshld.w.128
|
||||
return _mm128_shldi_epi16(__A, __B, 31);
|
||||
return _mm_shldi_epi16(__A, __B, 31);
|
||||
}
|
||||
|
||||
__m256i test_mm256_mask_shrdi_epi64(__m256i __S, __mmask8 __U, __m256i __A, __m256i __B) {
|
||||
|
@ -296,22 +296,22 @@ __m256i test_mm256_shrdi_epi64(__m256i __A, __m256i __B) {
|
|||
return _mm256_shrdi_epi64(__A, __B, 31);
|
||||
}
|
||||
|
||||
__m128i test_mm128_mask_shrdi_epi64(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm128_mask_shrdi_epi64
|
||||
__m128i test_mm_mask_shrdi_epi64(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm_mask_shrdi_epi64
|
||||
// CHECK: @llvm.x86.avx512.mask.vpshrd.q.128
|
||||
return _mm128_mask_shrdi_epi64(__S, __U, __A, __B, 127);
|
||||
return _mm_mask_shrdi_epi64(__S, __U, __A, __B, 127);
|
||||
}
|
||||
|
||||
__m128i test_mm128_maskz_shrdi_epi64(__mmask8 __U, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm128_maskz_shrdi_epi64
|
||||
__m128i test_mm_maskz_shrdi_epi64(__mmask8 __U, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm_maskz_shrdi_epi64
|
||||
// CHECK: @llvm.x86.avx512.mask.vpshrd.q.128
|
||||
return _mm128_maskz_shrdi_epi64(__U, __A, __B, 63);
|
||||
return _mm_maskz_shrdi_epi64(__U, __A, __B, 63);
|
||||
}
|
||||
|
||||
__m128i test_mm128_shrdi_epi64(__m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm128_shrdi_epi64
|
||||
__m128i test_mm_shrdi_epi64(__m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm_shrdi_epi64
|
||||
// CHECK: @llvm.x86.avx512.mask.vpshrd.q.128
|
||||
return _mm128_shrdi_epi64(__A, __B, 31);
|
||||
return _mm_shrdi_epi64(__A, __B, 31);
|
||||
}
|
||||
|
||||
__m256i test_mm256_mask_shrdi_epi32(__m256i __S, __mmask8 __U, __m256i __A, __m256i __B) {
|
||||
|
@ -332,22 +332,22 @@ __m256i test_mm256_shrdi_epi32(__m256i __A, __m256i __B) {
|
|||
return _mm256_shrdi_epi32(__A, __B, 31);
|
||||
}
|
||||
|
||||
__m128i test_mm128_mask_shrdi_epi32(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm128_mask_shrdi_epi32
|
||||
__m128i test_mm_mask_shrdi_epi32(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm_mask_shrdi_epi32
|
||||
// CHECK: @llvm.x86.avx512.mask.vpshrd.d.128
|
||||
return _mm128_mask_shrdi_epi32(__S, __U, __A, __B, 127);
|
||||
return _mm_mask_shrdi_epi32(__S, __U, __A, __B, 127);
|
||||
}
|
||||
|
||||
__m128i test_mm128_maskz_shrdi_epi32(__mmask8 __U, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm128_maskz_shrdi_epi32
|
||||
__m128i test_mm_maskz_shrdi_epi32(__mmask8 __U, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm_maskz_shrdi_epi32
|
||||
// CHECK: @llvm.x86.avx512.mask.vpshrd.d.128
|
||||
return _mm128_maskz_shrdi_epi32(__U, __A, __B, 63);
|
||||
return _mm_maskz_shrdi_epi32(__U, __A, __B, 63);
|
||||
}
|
||||
|
||||
__m128i test_mm128_shrdi_epi32(__m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm128_shrdi_epi32
|
||||
__m128i test_mm_shrdi_epi32(__m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm_shrdi_epi32
|
||||
// CHECK: @llvm.x86.avx512.mask.vpshrd.d.128
|
||||
return _mm128_shrdi_epi32(__A, __B, 31);
|
||||
return _mm_shrdi_epi32(__A, __B, 31);
|
||||
}
|
||||
|
||||
__m256i test_mm256_mask_shrdi_epi16(__m256i __S, __mmask16 __U, __m256i __A, __m256i __B) {
|
||||
|
@ -368,22 +368,22 @@ __m256i test_mm256_shrdi_epi16(__m256i __A, __m256i __B) {
|
|||
return _mm256_shrdi_epi16(__A, __B, 31);
|
||||
}
|
||||
|
||||
__m128i test_mm128_mask_shrdi_epi16(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm128_mask_shrdi_epi16
|
||||
__m128i test_mm_mask_shrdi_epi16(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm_mask_shrdi_epi16
|
||||
// CHECK: @llvm.x86.avx512.mask.vpshrd.w.128
|
||||
return _mm128_mask_shrdi_epi16(__S, __U, __A, __B, 127);
|
||||
return _mm_mask_shrdi_epi16(__S, __U, __A, __B, 127);
|
||||
}
|
||||
|
||||
__m128i test_mm128_maskz_shrdi_epi16(__mmask8 __U, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm128_maskz_shrdi_epi16
|
||||
__m128i test_mm_maskz_shrdi_epi16(__mmask8 __U, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm_maskz_shrdi_epi16
|
||||
// CHECK: @llvm.x86.avx512.mask.vpshrd.w.128
|
||||
return _mm128_maskz_shrdi_epi16(__U, __A, __B, 63);
|
||||
return _mm_maskz_shrdi_epi16(__U, __A, __B, 63);
|
||||
}
|
||||
|
||||
__m128i test_mm128_shrdi_epi16(__m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm128_shrdi_epi16
|
||||
__m128i test_mm_shrdi_epi16(__m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm_shrdi_epi16
|
||||
// CHECK: @llvm.x86.avx512.mask.vpshrd.w.128
|
||||
return _mm128_shrdi_epi16(__A, __B, 31);
|
||||
return _mm_shrdi_epi16(__A, __B, 31);
|
||||
}
|
||||
|
||||
__m256i test_mm256_mask_shldv_epi64(__m256i __S, __mmask8 __U, __m256i __A, __m256i __B) {
|
||||
|
@ -404,22 +404,22 @@ __m256i test_mm256_shldv_epi64(__m256i __S, __m256i __A, __m256i __B) {
|
|||
return _mm256_shldv_epi64(__S, __A, __B);
|
||||
}
|
||||
|
||||
__m128i test_mm128_mask_shldv_epi64(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm128_mask_shldv_epi64
|
||||
__m128i test_mm_mask_shldv_epi64(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm_mask_shldv_epi64
|
||||
// CHECK: @llvm.x86.avx512.mask.vpshldv.q.128
|
||||
return _mm128_mask_shldv_epi64(__S, __U, __A, __B);
|
||||
return _mm_mask_shldv_epi64(__S, __U, __A, __B);
|
||||
}
|
||||
|
||||
__m128i test_mm128_maskz_shldv_epi64(__mmask8 __U, __m128i __S, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm128_maskz_shldv_epi64
|
||||
__m128i test_mm_maskz_shldv_epi64(__mmask8 __U, __m128i __S, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm_maskz_shldv_epi64
|
||||
// CHECK: @llvm.x86.avx512.maskz.vpshldv.q.128
|
||||
return _mm128_maskz_shldv_epi64(__U, __S, __A, __B);
|
||||
return _mm_maskz_shldv_epi64(__U, __S, __A, __B);
|
||||
}
|
||||
|
||||
__m128i test_mm128_shldv_epi64(__m128i __S, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm128_shldv_epi64
|
||||
__m128i test_mm_shldv_epi64(__m128i __S, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm_shldv_epi64
|
||||
// CHECK: @llvm.x86.avx512.mask.vpshldv.q.128
|
||||
return _mm128_shldv_epi64(__S, __A, __B);
|
||||
return _mm_shldv_epi64(__S, __A, __B);
|
||||
}
|
||||
|
||||
__m256i test_mm256_mask_shldv_epi32(__m256i __S, __mmask8 __U, __m256i __A, __m256i __B) {
|
||||
|
@ -440,22 +440,22 @@ __m256i test_mm256_shldv_epi32(__m256i __S, __m256i __A, __m256i __B) {
|
|||
return _mm256_shldv_epi32(__S, __A, __B);
|
||||
}
|
||||
|
||||
__m128i test_mm128_mask_shldv_epi32(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm128_mask_shldv_epi32
|
||||
__m128i test_mm_mask_shldv_epi32(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm_mask_shldv_epi32
|
||||
// CHECK: @llvm.x86.avx512.mask.vpshldv.d.128
|
||||
return _mm128_mask_shldv_epi32(__S, __U, __A, __B);
|
||||
return _mm_mask_shldv_epi32(__S, __U, __A, __B);
|
||||
}
|
||||
|
||||
__m128i test_mm128_maskz_shldv_epi32(__mmask8 __U, __m128i __S, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm128_maskz_shldv_epi32
|
||||
__m128i test_mm_maskz_shldv_epi32(__mmask8 __U, __m128i __S, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm_maskz_shldv_epi32
|
||||
// CHECK: @llvm.x86.avx512.maskz.vpshldv.d.128
|
||||
return _mm128_maskz_shldv_epi32(__U, __S, __A, __B);
|
||||
return _mm_maskz_shldv_epi32(__U, __S, __A, __B);
|
||||
}
|
||||
|
||||
__m128i test_mm128_shldv_epi32(__m128i __S, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm128_shldv_epi32
|
||||
__m128i test_mm_shldv_epi32(__m128i __S, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm_shldv_epi32
|
||||
// CHECK: @llvm.x86.avx512.mask.vpshldv.d.128
|
||||
return _mm128_shldv_epi32(__S, __A, __B);
|
||||
return _mm_shldv_epi32(__S, __A, __B);
|
||||
}
|
||||
|
||||
__m256i test_mm256_mask_shldv_epi16(__m256i __S, __mmask16 __U, __m256i __A, __m256i __B) {
|
||||
|
@ -476,22 +476,22 @@ __m256i test_mm256_shldv_epi16(__m256i __S, __m256i __A, __m256i __B) {
|
|||
return _mm256_shldv_epi16(__S, __A, __B);
|
||||
}
|
||||
|
||||
__m128i test_mm128_mask_shldv_epi16(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm128_mask_shldv_epi16
|
||||
__m128i test_mm_mask_shldv_epi16(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm_mask_shldv_epi16
|
||||
// CHECK: @llvm.x86.avx512.mask.vpshldv.w.128
|
||||
return _mm128_mask_shldv_epi16(__S, __U, __A, __B);
|
||||
return _mm_mask_shldv_epi16(__S, __U, __A, __B);
|
||||
}
|
||||
|
||||
__m128i test_mm128_maskz_shldv_epi16(__mmask8 __U, __m128i __S, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm128_maskz_shldv_epi16
|
||||
__m128i test_mm_maskz_shldv_epi16(__mmask8 __U, __m128i __S, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm_maskz_shldv_epi16
|
||||
// CHECK: @llvm.x86.avx512.maskz.vpshldv.w.128
|
||||
return _mm128_maskz_shldv_epi16(__U, __S, __A, __B);
|
||||
return _mm_maskz_shldv_epi16(__U, __S, __A, __B);
|
||||
}
|
||||
|
||||
__m128i test_mm128_shldv_epi16(__m128i __S, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm128_shldv_epi16
|
||||
__m128i test_mm_shldv_epi16(__m128i __S, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm_shldv_epi16
|
||||
// CHECK: @llvm.x86.avx512.mask.vpshldv.w.128
|
||||
return _mm128_shldv_epi16(__S, __A, __B);
|
||||
return _mm_shldv_epi16(__S, __A, __B);
|
||||
}
|
||||
|
||||
__m256i test_mm256_mask_shrdv_epi64(__m256i __S, __mmask8 __U, __m256i __A, __m256i __B) {
|
||||
|
@ -512,22 +512,22 @@ __m256i test_mm256_shrdv_epi64(__m256i __S, __m256i __A, __m256i __B) {
|
|||
return _mm256_shrdv_epi64(__S, __A, __B);
|
||||
}
|
||||
|
||||
__m128i test_mm128_mask_shrdv_epi64(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm128_mask_shrdv_epi64
|
||||
__m128i test_mm_mask_shrdv_epi64(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm_mask_shrdv_epi64
|
||||
// CHECK: @llvm.x86.avx512.mask.vpshrdv.q.128
|
||||
return _mm128_mask_shrdv_epi64(__S, __U, __A, __B);
|
||||
return _mm_mask_shrdv_epi64(__S, __U, __A, __B);
|
||||
}
|
||||
|
||||
__m128i test_mm128_maskz_shrdv_epi64(__mmask8 __U, __m128i __S, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm128_maskz_shrdv_epi64
|
||||
__m128i test_mm_maskz_shrdv_epi64(__mmask8 __U, __m128i __S, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm_maskz_shrdv_epi64
|
||||
// CHECK: @llvm.x86.avx512.maskz.vpshrdv.q.128
|
||||
return _mm128_maskz_shrdv_epi64(__U, __S, __A, __B);
|
||||
return _mm_maskz_shrdv_epi64(__U, __S, __A, __B);
|
||||
}
|
||||
|
||||
__m128i test_mm128_shrdv_epi64(__m128i __S, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm128_shrdv_epi64
|
||||
__m128i test_mm_shrdv_epi64(__m128i __S, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm_shrdv_epi64
|
||||
// CHECK: @llvm.x86.avx512.mask.vpshrdv.q.128
|
||||
return _mm128_shrdv_epi64(__S, __A, __B);
|
||||
return _mm_shrdv_epi64(__S, __A, __B);
|
||||
}
|
||||
|
||||
__m256i test_mm256_mask_shrdv_epi32(__m256i __S, __mmask8 __U, __m256i __A, __m256i __B) {
|
||||
|
@ -548,22 +548,22 @@ __m256i test_mm256_shrdv_epi32(__m256i __S, __m256i __A, __m256i __B) {
|
|||
return _mm256_shrdv_epi32(__S, __A, __B);
|
||||
}
|
||||
|
||||
__m128i test_mm128_mask_shrdv_epi32(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm128_mask_shrdv_epi32
|
||||
__m128i test_mm_mask_shrdv_epi32(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm_mask_shrdv_epi32
|
||||
// CHECK: @llvm.x86.avx512.mask.vpshrdv.d.128
|
||||
return _mm128_mask_shrdv_epi32(__S, __U, __A, __B);
|
||||
return _mm_mask_shrdv_epi32(__S, __U, __A, __B);
|
||||
}
|
||||
|
||||
__m128i test_mm128_maskz_shrdv_epi32(__mmask8 __U, __m128i __S, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm128_maskz_shrdv_epi32
|
||||
__m128i test_mm_maskz_shrdv_epi32(__mmask8 __U, __m128i __S, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm_maskz_shrdv_epi32
|
||||
// CHECK: @llvm.x86.avx512.maskz.vpshrdv.d.128
|
||||
return _mm128_maskz_shrdv_epi32(__U, __S, __A, __B);
|
||||
return _mm_maskz_shrdv_epi32(__U, __S, __A, __B);
|
||||
}
|
||||
|
||||
__m128i test_mm128_shrdv_epi32(__m128i __S, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm128_shrdv_epi32
|
||||
__m128i test_mm_shrdv_epi32(__m128i __S, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm_shrdv_epi32
|
||||
// CHECK: @llvm.x86.avx512.mask.vpshrdv.d.128
|
||||
return _mm128_shrdv_epi32(__S, __A, __B);
|
||||
return _mm_shrdv_epi32(__S, __A, __B);
|
||||
}
|
||||
|
||||
__m256i test_mm256_mask_shrdv_epi16(__m256i __S, __mmask16 __U, __m256i __A, __m256i __B) {
|
||||
|
@ -584,21 +584,21 @@ __m256i test_mm256_shrdv_epi16(__m256i __S, __m256i __A, __m256i __B) {
|
|||
return _mm256_shrdv_epi16(__S, __A, __B);
|
||||
}
|
||||
|
||||
__m128i test_mm128_mask_shrdv_epi16(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm128_mask_shrdv_epi16
|
||||
__m128i test_mm_mask_shrdv_epi16(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm_mask_shrdv_epi16
|
||||
// CHECK: @llvm.x86.avx512.mask.vpshrdv.w.128
|
||||
return _mm128_mask_shrdv_epi16(__S, __U, __A, __B);
|
||||
return _mm_mask_shrdv_epi16(__S, __U, __A, __B);
|
||||
}
|
||||
|
||||
__m128i test_mm128_maskz_shrdv_epi16(__mmask8 __U, __m128i __S, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm128_maskz_shrdv_epi16
|
||||
__m128i test_mm_maskz_shrdv_epi16(__mmask8 __U, __m128i __S, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm_maskz_shrdv_epi16
|
||||
// CHECK: @llvm.x86.avx512.maskz.vpshrdv.w.128
|
||||
return _mm128_maskz_shrdv_epi16(__U, __S, __A, __B);
|
||||
return _mm_maskz_shrdv_epi16(__U, __S, __A, __B);
|
||||
}
|
||||
|
||||
__m128i test_mm128_shrdv_epi16(__m128i __S, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm128_shrdv_epi16
|
||||
__m128i test_mm_shrdv_epi16(__m128i __S, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm_shrdv_epi16
|
||||
// CHECK: @llvm.x86.avx512.mask.vpshrdv.w.128
|
||||
return _mm128_shrdv_epi16(__S, __A, __B);
|
||||
return _mm_shrdv_epi16(__S, __A, __B);
|
||||
}
|
||||
|
||||
|
|
|
@ -74,75 +74,75 @@ __m256i test_mm256_dpwssds_epi32(__m256i __S, __m256i __A, __m256i __B) {
|
|||
return _mm256_dpwssds_epi32(__S, __A, __B);
|
||||
}
|
||||
|
||||
__m128i test_mm128_mask_dpbusd_epi32(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm128_mask_dpbusd_epi32
|
||||
__m128i test_mm_mask_dpbusd_epi32(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm_mask_dpbusd_epi32
|
||||
// CHECK: @llvm.x86.avx512.mask.vpdpbusd.128
|
||||
return _mm128_mask_dpbusd_epi32(__S, __U, __A, __B);
|
||||
return _mm_mask_dpbusd_epi32(__S, __U, __A, __B);
|
||||
}
|
||||
|
||||
__m128i test_mm128_maskz_dpbusd_epi32(__mmask8 __U, __m128i __S, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm128_maskz_dpbusd_epi32
|
||||
__m128i test_mm_maskz_dpbusd_epi32(__mmask8 __U, __m128i __S, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm_maskz_dpbusd_epi32
|
||||
// CHECK: @llvm.x86.avx512.maskz.vpdpbusd.128
|
||||
return _mm128_maskz_dpbusd_epi32(__U, __S, __A, __B);
|
||||
return _mm_maskz_dpbusd_epi32(__U, __S, __A, __B);
|
||||
}
|
||||
|
||||
__m128i test_mm128_dpbusd_epi32(__m128i __S, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm128_dpbusd_epi32
|
||||
__m128i test_mm_dpbusd_epi32(__m128i __S, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm_dpbusd_epi32
|
||||
// CHECK: @llvm.x86.avx512.mask.vpdpbusd.128
|
||||
return _mm128_dpbusd_epi32(__S, __A, __B);
|
||||
return _mm_dpbusd_epi32(__S, __A, __B);
|
||||
}
|
||||
|
||||
__m128i test_mm128_mask_dpbusds_epi32(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm128_mask_dpbusds_epi32
|
||||
__m128i test_mm_mask_dpbusds_epi32(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm_mask_dpbusds_epi32
|
||||
// CHECK: @llvm.x86.avx512.mask.vpdpbusds.128
|
||||
return _mm128_mask_dpbusds_epi32(__S, __U, __A, __B);
|
||||
return _mm_mask_dpbusds_epi32(__S, __U, __A, __B);
|
||||
}
|
||||
|
||||
__m128i test_mm128_maskz_dpbusds_epi32(__mmask8 __U, __m128i __S, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm128_maskz_dpbusds_epi32
|
||||
__m128i test_mm_maskz_dpbusds_epi32(__mmask8 __U, __m128i __S, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm_maskz_dpbusds_epi32
|
||||
// CHECK: @llvm.x86.avx512.maskz.vpdpbusds.128
|
||||
return _mm128_maskz_dpbusds_epi32(__U, __S, __A, __B);
|
||||
return _mm_maskz_dpbusds_epi32(__U, __S, __A, __B);
|
||||
}
|
||||
|
||||
__m128i test_mm128_dpbusds_epi32(__m128i __S, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm128_dpbusds_epi32
|
||||
__m128i test_mm_dpbusds_epi32(__m128i __S, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm_dpbusds_epi32
|
||||
// CHECK: @llvm.x86.avx512.mask.vpdpbusds.128
|
||||
return _mm128_dpbusds_epi32(__S, __A, __B);
|
||||
return _mm_dpbusds_epi32(__S, __A, __B);
|
||||
}
|
||||
|
||||
__m128i test_mm128_mask_dpwssd_epi32(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm128_mask_dpwssd_epi32
|
||||
__m128i test_mm_mask_dpwssd_epi32(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm_mask_dpwssd_epi32
|
||||
// CHECK: @llvm.x86.avx512.mask.vpdpwssd.128
|
||||
return _mm128_mask_dpwssd_epi32(__S, __U, __A, __B);
|
||||
return _mm_mask_dpwssd_epi32(__S, __U, __A, __B);
|
||||
}
|
||||
|
||||
__m128i test_mm128_maskz_dpwssd_epi32(__mmask8 __U, __m128i __S, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm128_maskz_dpwssd_epi32
|
||||
__m128i test_mm_maskz_dpwssd_epi32(__mmask8 __U, __m128i __S, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm_maskz_dpwssd_epi32
|
||||
// CHECK: @llvm.x86.avx512.maskz.vpdpwssd.128
|
||||
return _mm128_maskz_dpwssd_epi32(__U, __S, __A, __B);
|
||||
return _mm_maskz_dpwssd_epi32(__U, __S, __A, __B);
|
||||
}
|
||||
|
||||
__m128i test_mm128_dpwssd_epi32(__m128i __S, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm128_dpwssd_epi32
|
||||
__m128i test_mm_dpwssd_epi32(__m128i __S, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm_dpwssd_epi32
|
||||
// CHECK: @llvm.x86.avx512.mask.vpdpwssd.128
|
||||
return _mm128_dpwssd_epi32(__S, __A, __B);
|
||||
return _mm_dpwssd_epi32(__S, __A, __B);
|
||||
}
|
||||
|
||||
__m128i test_mm128_mask_dpwssds_epi32(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm128_mask_dpwssds_epi32
|
||||
__m128i test_mm_mask_dpwssds_epi32(__m128i __S, __mmask8 __U, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm_mask_dpwssds_epi32
|
||||
// CHECK: @llvm.x86.avx512.mask.vpdpwssds.128
|
||||
return _mm128_mask_dpwssds_epi32(__S, __U, __A, __B);
|
||||
return _mm_mask_dpwssds_epi32(__S, __U, __A, __B);
|
||||
}
|
||||
|
||||
__m128i test_mm128_maskz_dpwssds_epi32(__mmask8 __U, __m128i __S, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm128_maskz_dpwssds_epi32
|
||||
__m128i test_mm_maskz_dpwssds_epi32(__mmask8 __U, __m128i __S, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm_maskz_dpwssds_epi32
|
||||
// CHECK: @llvm.x86.avx512.maskz.vpdpwssds.128
|
||||
return _mm128_maskz_dpwssds_epi32(__U, __S, __A, __B);
|
||||
return _mm_maskz_dpwssds_epi32(__U, __S, __A, __B);
|
||||
}
|
||||
|
||||
__m128i test_mm128_dpwssds_epi32(__m128i __S, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm128_dpwssds_epi32
|
||||
__m128i test_mm_dpwssds_epi32(__m128i __S, __m128i __A, __m128i __B) {
|
||||
// CHECK-LABEL: @test_mm_dpwssds_epi32
|
||||
// CHECK: @llvm.x86.avx512.mask.vpdpwssds.128
|
||||
return _mm128_dpwssds_epi32(__S, __A, __B);
|
||||
return _mm_dpwssds_epi32(__S, __A, __B);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue