r272466 - [X86] Add explicit typecasts to some intrinsics.
Craig Topper via cfe-commits
cfe-commits at lists.llvm.org
Sat Jun 11 05:50:13 PDT 2016
Author: ctopper
Date: Sat Jun 11 07:50:12 2016
New Revision: 272466
URL: http://llvm.org/viewvc/llvm-project?rev=272466&view=rev
Log:
[X86] Add explicit typecasts to some intrinsics.
Modified:
cfe/trunk/lib/Headers/avx512vlbwintrin.h
Modified: cfe/trunk/lib/Headers/avx512vlbwintrin.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Headers/avx512vlbwintrin.h?rev=272466&r1=272465&r2=272466&view=diff
==============================================================================
--- cfe/trunk/lib/Headers/avx512vlbwintrin.h (original)
+++ cfe/trunk/lib/Headers/avx512vlbwintrin.h Sat Jun 11 07:50:12 2016
@@ -2428,22 +2428,24 @@ _mm256_maskz_cvtepu8_epi16 (__mmask16 __
#define _mm_mask_shufflelo_epi16(W, U, A, imm) __extension__ ({ \
(__m128i)__builtin_ia32_selectw_128((__mmask8)(U), \
- _mm_shufflelo_epi16((A), (imm)), \
+ (__v8hi)_mm_shufflelo_epi16((A), (imm)), \
(__v8hi)(__m128i)(W)); })
#define _mm_maskz_shufflelo_epi16(U, A, imm) __extension__ ({ \
(__m128i)__builtin_ia32_selectw_128((__mmask8)(U), \
- _mm_shufflelo_epi16((A), (imm)), \
+ (__v8hi)_mm_shufflelo_epi16((A), (imm)), \
(__v8hi)_mm_setzero_hi()); })
#define _mm256_mask_shufflelo_epi16(W, U, A, imm) __extension__ ({ \
(__m256i)__builtin_ia32_selectw_256((__mmask16)(U), \
- _mm256_shufflelo_epi16((A), (imm)), \
+ (__v16hi)_mm256_shufflelo_epi16((A), \
+ (imm)), \
(__v16hi)(__m256i)(W)); })
#define _mm256_maskz_shufflelo_epi16(U, A, imm) __extension__ ({ \
(__m256i)__builtin_ia32_selectw_256((__mmask16)(U), \
- _mm256_shufflelo_epi16((A), (imm)), \
+ (__v16hi)_mm256_shufflelo_epi16((A), \
+ (imm)), \
(__v16hi)_mm256_setzero_si256()); })
static __inline__ __m256i __DEFAULT_FN_ATTRS
More information about the cfe-commits
mailing list