forked from OSchip/llvm-project
[AVX-512] Add typecasts to alignr intrinsics that were modified in r284920.
llvm-svn: 284923
This commit is contained in:
parent
d3829c89bc
commit
c2c7e42bfe
|
@ -3314,23 +3314,23 @@ _mm256_mask_permutexvar_epi16 (__m256i __W, __mmask16 __M, __m256i __A,
|
|||
|
||||
#define _mm_mask_alignr_epi8(W, U, A, B, N) __extension__ ({ \
|
||||
(__m128i)__builtin_ia32_selectb_128((__mmask16)(U), \
|
||||
_mm_alignr_epi8((A), (B), (int)(N)), \
|
||||
(__v16qi)(__m128i)(W)); })
|
||||
(__v16qi)_mm_alignr_epi8((A), (B), (int)(N)), \
|
||||
(__v16qi)(__m128i)(W)); })
|
||||
|
||||
#define _mm_maskz_alignr_epi8(U, A, B, N) __extension__ ({ \
|
||||
(__m128i)__builtin_ia32_selectb_128((__mmask16)(U), \
|
||||
_mm_alignr_epi8((A), (B), (int)(N)), \
|
||||
(__v16qi)_mm_setzero_si128()); })
|
||||
(__v16qi)_mm_alignr_epi8((A), (B), (int)(N)), \
|
||||
(__v16qi)_mm_setzero_si128()); })
|
||||
|
||||
#define _mm256_mask_alignr_epi8(W, U, A, B, N) __extension__ ({ \
|
||||
(__m256i)__builtin_ia32_selectb_256((__mmask32)(U), \
|
||||
_mm256_alignr_epi8((A), (B), (int)(N)), \
|
||||
(__v32qi)(__m256i)(W)); })
|
||||
(__v32qi)_mm256_alignr_epi8((A), (B), (int)(N)), \
|
||||
(__v32qi)(__m256i)(W)); })
|
||||
|
||||
#define _mm256_maskz_alignr_epi8(U, A, B, N) __extension__ ({ \
|
||||
(__m256i)__builtin_ia32_selectb_256((__mmask32)(U), \
|
||||
_mm256_alignr_epi8((A), (B), (int)(N)), \
|
||||
(__v32qi)_mm256_setzero_si256()); })
|
||||
(__v32qi)_mm256_alignr_epi8((A), (B), (int)(N)), \
|
||||
(__v32qi)_mm256_setzero_si256()); })
|
||||
|
||||
#define _mm_dbsad_epu8(A, B, imm) __extension__ ({ \
|
||||
(__m128i)__builtin_ia32_dbpsadbw128_mask((__v16qi)(__m128i)(A), \
|
||||
|
|
Loading…
Reference in New Issue