[PATCH] D20055: [Clang][Intrinsics] Adding avx512f missing intrinsics {cast}

Asaf Badouh via llvm-commits llvm-commits at lists.llvm.org
Sun May 8 05:08:38 PDT 2016


AsafBadouh added inline comments.

================
Comment at: lib/Headers/avx512fintrin.h:385
@@ +384,3 @@
+{
+  return (__m128i)_mm512_extracti32x4_epi32((__m512i)__A, 0);
+}
----------------
Can you use :
```
  return __builtin_shufflevector(__A, __A, 0,1)
```
?

and same for the other



http://reviews.llvm.org/D20055





More information about the llvm-commits mailing list