i386/cpu: Remove AMX-TF32 CPUID bit from Diamond Rapids
PATCH v3 1/1 i386/cpu: Remove AMX-TF32 CPUID bit from Diamond Rapids
A recent update (rev. 62) to the Intel document [1] clarifies that the feature will not be implemented on Diamond Rapids. Listing it would result in spurious warnings due to the mismatch. Remove the feature from the CPU model.
Note [1] (rev. 63) now clarifies that the CPUID bit is reserved rather than removed. So, the existing CPUID bit enumeration does not conflict with it and can be retained.
[1] Intel Architecture Instruction Set Extensions and Future Features
Cc [email protected] # v11.0+
Reviewed-by Zhao Liu <[email protected]>
Signed-off-by Chang S. Bae <[email protected]>
---
V2 -> V3: Remove it from DMR only.
--- target/i386/cpu.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
target/i386/cpu.c +1 -2
@@ -5726,8 +5726,7 @@ static const X86CPUDefinition builtin_x86_defs[] = {CPUID_1E_1_EAX_AMX_INT8_ALIAS |CPUID_1E_1_EAX_AMX_BF16_ALIAS |CPUID_1E_1_EAX_AMX_COMPLEX_ALIAS |CPUID_1E_1_EAX_AMX_FP16_ALIAS |CPUID_1E_1_EAX_AMX_FP8 | -CPUID_1E_1_EAX_AMX_TF32 |CPUID_1E_1_EAX_AMX_AVX512 | - CPUID_1E_1_EAX_AMX_MOVRS, + CPUID_1E_1_EAX_AMX_AVX512 | CPUID_1E_1_EAX_AMX_MOVRS, .features[FEAT_29_0_EBX] = CPUID_29_0_EBX_APX_NCI_NDD_NF,/* * Though this bit will be set by avx_version=2, it's better to
Signature · 1 line
2.53.0
Paolo Bonzini
AppliedQueued, thanks.
Paolo