All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] i386/cpu: Remove AMX-TF32 CPUID bit
@ 2026-07-08 21:03 Chang S. Bae
  2026-07-09 10:56 ` Zhao Liu
  0 siblings, 1 reply; 3+ messages in thread
From: Chang S. Bae @ 2026-07-08 21:03 UTC (permalink / raw)
  To: qemu-devel; +Cc: pbonzini, berrange, seanjc, chang.seok.bae, Zhao Liu

A recent revision of the Intel document [1] removed AMX-TF32, confirming
that the feature will not be implemented in future processors. Remove the
feature bit definition and its enumeration from the Diamond Rapids CPU
model.

[1] Intel Architecture Instruction Set Extensions and Future Features
    (Rev.062)

Cc: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Chang S. Bae <chang.seok.bae@intel.com>
---
KVM side posting: 
https://lore.kernel.org/all/20260708210118.402005-1-chang.seok.bae@intel.com
---
 target/i386/cpu.c | 5 ++---
 target/i386/cpu.h | 2 --
 2 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/target/i386/cpu.c b/target/i386/cpu.c
index 5805d33ab92d..bde501ad8f7b 100644
--- a/target/i386/cpu.c
+++ b/target/i386/cpu.c
@@ -1319,7 +1319,7 @@ FeatureWordInfo feature_word_info[FEATURE_WORDS] = {
         .type = CPUID_FEATURE_WORD,
         .feat_names = {
             "amx-int8-alias", "amx-bf16-alias", "amx-complex-alias", "amx-fp16-alias",
-            "amx-fp8", NULL, "amx-tf32", "amx-avx512",
+            "amx-fp8", NULL, NULL, "amx-avx512",
             "amx-movrs", NULL, NULL, NULL,
             NULL, NULL, NULL, NULL,
             NULL, NULL, NULL, NULL,
@@ -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
diff --git a/target/i386/cpu.h b/target/i386/cpu.h
index e6a197602d87..8354c0753f0d 100644
--- a/target/i386/cpu.h
+++ b/target/i386/cpu.h
@@ -1111,8 +1111,6 @@ uint64_t x86_cpu_get_supported_feature_word(X86CPU *cpu, FeatureWord w);
 #define CPUID_1E_1_EAX_AMX_FP16_ALIAS      (1U << 3)
 /* AMX_FP8 instruction */
 #define CPUID_1E_1_EAX_AMX_FP8              (1U << 4)
-/* AMX_TF32 instruction */
-#define CPUID_1E_1_EAX_AMX_TF32             (1U << 6)
 /* AMX_AVX512 instruction */
 #define CPUID_1E_1_EAX_AMX_AVX512           (1U << 7)
 /* AMX_MOVRS instruction */
-- 
2.53.0



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-07-09 17:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-08 21:03 [PATCH] i386/cpu: Remove AMX-TF32 CPUID bit Chang S. Bae
2026-07-09 10:56 ` Zhao Liu
2026-07-09 17:27   ` Chang S. Bae

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.