Skip to content

Commit

Permalink
[Clang][AVX512][Builtin] Fix palignr intrinsics header
Browse files Browse the repository at this point in the history
Differential Revision: http://reviews.llvm.org/D20620

llvm-svn: 270707
  • Loading branch information
Michael Zuckerman authored and Michael Zuckerman committed May 25, 2016
1 parent 594e06b commit efbf3f1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions clang/lib/Headers/avx512bwintrin.h
Expand Up @@ -2145,19 +2145,19 @@ _mm512_mask_permutexvar_epi16 (__m512i __W, __mmask32 __M, __m512i __A,

#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)); })

Expand Down

0 comments on commit efbf3f1

Please sign in to comment.