[PATCH] D16398: [AVX512] Adding VPERMT2B and VPERMI2B Intrinsics

Asaf Badouh via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 21 03:42:56 PST 2016


AsafBadouh added inline comments.

================
Comment at: include/llvm/IR/IntrinsicsX86.td:1425
@@ +1424,3 @@
+          [IntrNoMem]>;
+
+  def int_x86_avx512_mask_vpermt2var_qi_128 :
----------------
according to spec the masks should be:
i16 -> _128
i32 -> _256
i64 -> _512
for example: 

```
__m512i _mm512_maskz_permutex2var_epi8 (__mmask64 k, __m512i a, __m512i idx, __m512i b)

```





http://reviews.llvm.org/D16398





More information about the llvm-commits mailing list