[clang] [llvm] [X86][AMX] Support AMX-MOVRS (PR #115151)

Phoebe Wang via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 11 16:29:55 PST 2024


================
@@ -656,6 +656,11 @@ _storebe_i64(void * __P, long long __D) {
 #include <amxtransposeintrin.h>
 #endif
 
+#if !defined(__SCE__) || __has_feature(modules) || defined(__AMX_MOVRS__)
+#include <amxmovrsintrin.h>
+#include <amxmovrstransposeintrin.h>
----------------
phoebewang wrote:

This needs to be guarded with
```
#if !defined(__SCE__) || __has_feature(modules) ||                             \
    (defined(__AMX_MOVRS__) && defined(__AMX_TRANSPOSE__))
```

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


More information about the cfe-commits mailing list