Skip to content

Commit 71249fd

Browse files
committed
[NFC][X86] Add missing CPUID related changes for AMX-COMPLEX.
1 parent 9b3a080 commit 71249fd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/TargetParser/Host.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1755,6 +1755,7 @@ bool sys::getHostCPUFeatures(StringMap<bool> &Features) {
17551755
Features["avxifma"] = HasLeaf7Subleaf1 && ((EAX >> 23) & 1) && HasAVXSave;
17561756
Features["avxvnniint8"] = HasLeaf7Subleaf1 && ((EDX >> 4) & 1) && HasAVXSave;
17571757
Features["avxneconvert"] = HasLeaf7Subleaf1 && ((EDX >> 5) & 1) && HasAVXSave;
1758+
Features["amx-complex"] = HasLeaf7Subleaf1 && ((EDX >> 8) & 1) && HasAMXSave;
17581759
Features["prefetchi"] = HasLeaf7Subleaf1 && ((EDX >> 14) & 1);
17591760

17601761
bool HasLeafD = MaxLevel >= 0xd &&

0 commit comments

Comments
 (0)