[PATCH] D26021: [X86][AVX512][Clang] Add support for mask_{move|store|load}_s{s/d} and int2mask/mask2int intrinsics.

Igor Breger via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 8 03:35:32 PST 2016


igorb accepted this revision.
igorb added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: lib/Headers/avx512fintrin.h:9123
+  __m128 res=__A; 
+  res[0] = (__U&1)? __B[0]:__W[0];
+  return res; 
----------------
.


================
Comment at: lib/Headers/avx512fintrin.h:9155
+  __builtin_ia32_storess128_mask ((__v16sf *)__W, 
+                (__v16sf) _mm512_castps128_ps512(__A),
+                (__mmask16) __U & (__mmask16)1);
----------------
.


https://reviews.llvm.org/D26021





More information about the cfe-commits mailing list