[PATCH] D18446: [Clang][avx512][Builtin] Adding Builtin to clang.
michael zuckerman via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 31 00:11:02 PDT 2016
m_zuckerman added a comment.
ping
================
Comment at: include/clang/Basic/BuiltinsX86.def:1926
@@ +1925,3 @@
+TARGET_BUILTIN(__builtin_ia32_vplzcntq_256_mask, "V4LLiV4LLiV4LLiUc","","avx512vl")
+TARGET_BUILTIN(__builtin_ia32_pshufd512_mask, "V16iV16iIiV16iUc","","avx512f")
+TARGET_BUILTIN(__builtin_ia32_pshufd128_mask, "V4iV4iIiV4iUc","","avx512vl")
----------------
Delete this built, will be in another commit
================
Comment at: include/clang/Basic/BuiltinsX86.def:1927-1928
@@ -1752,1 +1926,4 @@
+TARGET_BUILTIN(__builtin_ia32_pshufd512_mask, "V16iV16iIiV16iUc","","avx512f")
+TARGET_BUILTIN(__builtin_ia32_pshufd128_mask, "V4iV4iIiV4iUc","","avx512vl")
+TARGET_BUILTIN(__builtin_ia32_pshufd256_mask, "V8iV8iIiV8iUc","","avx512vl")
----------------
There is no intrinsics use it.
================
Comment at: lib/Headers/avx512fintrin.h:3796-3804
@@ -3705,1 +3795,11 @@
+static __inline__ __m512i __DEFAULT_FN_ATTRS
+_mm512_shuffle_epi32 (__m512i __A, _MM_PERM_ENUM __imm)
+{
+ return (__m512i) __builtin_ia32_pshufd512_mask ((__v16si) __A,
+ (__mmask16) -1,
+ (__v16si)
+ _mm512_setzero_si512(),
+ __imm);
+}
+
----------------
Delete this intrinsics . Will be in another commit
http://reviews.llvm.org/D18446
More information about the llvm-commits
mailing list