[PATCH] D20620: [Clang][AVX512][Builtin] Fix palignr intrinsics header
Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed May 25 08:11:23 PDT 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL270707: [Clang][AVX512][Builtin] Fix palignr intrinsics header (authored by mzuckerm).
Changed prior to commit:
http://reviews.llvm.org/D20620?vs=58406&id=58425#toc
Repository:
rL LLVM
http://reviews.llvm.org/D20620
Files:
cfe/trunk/lib/Headers/avx512bwintrin.h
Index: cfe/trunk/lib/Headers/avx512bwintrin.h
===================================================================
--- cfe/trunk/lib/Headers/avx512bwintrin.h
+++ cfe/trunk/lib/Headers/avx512bwintrin.h
@@ -2145,19 +2145,19 @@
#define _mm512_alignr_epi8(A, B, N) __extension__ ({\
(__m512i)__builtin_ia32_palignr512_mask((__v64qi)(__m512i)(A), \
- (__v64qi)(__m512i)(B), (int)(N) * 8, \
+ (__v64qi)(__m512i)(B), (int)(N), \
(__v64qi)_mm512_undefined_pd(), \
(__mmask64)-1); })
#define _mm512_mask_alignr_epi8(W, U, A, B, N) __extension__({\
(__m512i)__builtin_ia32_palignr512_mask((__v64qi)(__m512i)(A), \
- (__v64qi)(__m512i)(B), (int)(N) * 8, \
+ (__v64qi)(__m512i)(B), (int)(N), \
(__v64qi)(__m512i)(W), \
(__mmask64)(U)); })
#define _mm512_maskz_alignr_epi8(U, A, B, N) __extension__({\
(__m512i)__builtin_ia32_palignr512_mask((__v64qi)(__m512i)(A), \
- (__v64qi)(__m512i)(B), (int)(N) * 8, \
+ (__v64qi)(__m512i)(B), (int)(N), \
(__v64qi)_mm512_setzero_si512(), \
(__mmask64)(U)); })
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20620.58425.patch
Type: text/x-patch
Size: 1510 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160525/8e56c80a/attachment.bin>
More information about the cfe-commits
mailing list