[PATCH] D16985: [CLANG] [AVX512] [BUILTIN] Adding prol{d|q|w}{128|256|512} builtin to clang .

Asaf Badouh via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 10 00:42:38 PST 2016


AsafBadouh added inline comments.

================
Comment at: lib/Headers/avx512vlintrin.h:4608
@@ -4602,1 +4607,3 @@
 
+#define _mm_rol_epi32(a, b) __extension__ ({\
+   (__m128i)__builtin_ia32_prold128_mask((__v4si) (a), (b),\
----------------
delena wrote:
> I thought we are adding compiler intrinsics as static inline functions. 
the second operand is "const int" that's why we used define instead of static inline function.


http://reviews.llvm.org/D16985





More information about the llvm-commits mailing list