[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:56 PST 2024


================
@@ -1880,6 +1880,7 @@ const StringMap<bool> sys::getHostCPUFeatures() {
                    !getX86CpuIDAndInfoEx(0x1e, 0x1, &EAX, &EBX, &ECX, &EDX);
   Features["amx-fp8"] = HasLeaf1E && ((EAX >> 4) & 1) && HasAMXSave;
   Features["amx-transpose"] = HasLeaf1E && ((EAX >> 5) & 1) && HasAMXSave;
+  Features["amx-movrs"] = HasLeaf1E && ((EAX >> 8) & 1) && HasAMXSave;
----------------
phoebewang wrote:

Put it in the order of offset.

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


More information about the cfe-commits mailing list