[PATCH] D66785: [x86] Adding support for some missing intrinsics: _mm512_cvtsi512_si32

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 27 05:42:24 PDT 2019


RKSimon added inline comments.


================
Comment at: clang/lib/Headers/avx512fintrin.h:9662
 
+static __inline__ int __DEFAULT_FN_ATTRS512
+_mm512_cvtsi512_si32(__m512i __A) {
----------------
Since we're adding this, we should set an example and include the doxygen comment as well (even though avx512 intrinsics aren't well documented). You should be able to copy the doxygen from _mm_cvtsi128_si32 in emmintrin.h with only trivial edits


================
Comment at: clang/test/CodeGen/avx512f-builtins.c:10849
+
+int test_mm512_cvtsi512_si32(__m512i a) {
+  // CHECK-LABEL: test_mm512_cvtsi512_si32
----------------
Put in alphabetical order? I make that just after test_mm_cvtsd_u32 ?


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D66785/new/

https://reviews.llvm.org/D66785





More information about the llvm-commits mailing list