]> granicus.if.org Git - clang/commitdiff
[AVX-512] Add typecasts to alignr intrinsics that were modified in r284920.
authorCraig Topper <craig.topper@gmail.com>
Sat, 22 Oct 2016 21:24:34 +0000 (21:24 +0000)
committerCraig Topper <craig.topper@gmail.com>
Sat, 22 Oct 2016 21:24:34 +0000 (21:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@284923 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Headers/avx512vlbwintrin.h

index b6c2c9a9968a7d0041037feae386b5bbd117cbb8..af21e76b75e634b3e1a067889debd98e20c9b704 100644 (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), \