[clang] [llvm] [X86] Support SM4 EVEX version intrinsics/instructions. (PR #113402)

Phoebe Wang via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 24 01:29:05 PDT 2024


================
@@ -665,6 +665,9 @@ _storebe_i64(void * __P, long long __D) {
 #include <avx10_2_512niintrin.h>
 #include <avx10_2_512satcvtdsintrin.h>
 #include <avx10_2_512satcvtintrin.h>
+#if (defined(__SM4__))
----------------
phoebewang wrote:

Oh, we should use
```
#if !defined(__SCE__) || __has_feature(modules) ||                             \
    (defined(__AVX10_2_512__) && defined(__SM4__))
#include <sm4evexintrin.h>
#endif
```

https://github.com/llvm/llvm-project/pull/113402


More information about the llvm-commits mailing list