[AVX-512] Add typecasts to alignr intrinsics that were modified in r284920.

llvm-svn: 284923
This commit is contained in:
Craig Topper 2016-10-22 21:24:34 +00:00
parent d3829c89bc
commit c2c7e42bfe
1 changed files with 8 additions and 8 deletions

View File

@ -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), \