[PATCH] D135930: [X86] Add AVX-NE-CONVERT instructions.

Phoebe Wang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 13 22:22:42 PDT 2022


pengfei added inline comments.


================
Comment at: clang/lib/Headers/avxneconvertintrin.h:47
+static __inline__ __m128 __DEFAULT_FN_ATTRS128
+_mm_cvtneebf16_ps(const __m128bh *__A) {
+  return (__m128)__builtin_ia32_vcvtneebf162ps128((const __v8hi *)__A);
----------------
I think the bf16 vector type may have the same problem with FP16. When need to move them out of avx512vlbf16intrin.h
Another issue is we want to switch them to `__bf16` vector. Hope D132329 can be landed first.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D135930



More information about the cfe-commits mailing list