Commit 85dc6147e7 for qemu.org
commit 85dc6147e79140f17b7e4333ec14f302bf9b5e97
Author: Zhao Liu <zhao1.liu@intel.com>
Date: Tue Mar 10 22:08:16 2026 +0800
i386/cpu: Rename AMX mirror feature words with -alias suffix
The commit 956b8f0fc38a ("i386/cpu: Add CPUID.0x1E.0x1 subleaf for AMX
instructions") names amx-int8/amx-bf16/amx-complex-amx-fp16 in CPUID
0x1E.1.EAX with "-mirror" suffix.
To align with the naming style of corresponding macros, rename these
feature words with "-alias" suffix.
Since the commit 956b8f0fc38a is merged in v11.0 development cycle,
it's safe to modify the names of feature words (before v11.0 is
released).
Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
Link: https://lore.kernel.org/r/20260310140819.1563084-3-zhao1.liu@intel.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
diff --git a/target/i386/cpu.c b/target/i386/cpu.c
index e35701b93b..08450a9142 100644
--- a/target/i386/cpu.c
+++ b/target/i386/cpu.c
@@ -1314,7 +1314,7 @@ FeatureWordInfo feature_word_info[FEATURE_WORDS] = {
[FEAT_1E_1_EAX] = {
.type = CPUID_FEATURE_WORD,
.feat_names = {
- "amx-int8-mirror", "amx-bf16-mirror", "amx-complex-mirror", "amx-fp16-mirror",
+ "amx-int8-alias", "amx-bf16-alias", "amx-complex-alias", "amx-fp16-alias",
"amx-fp8", NULL, "amx-tf32", "amx-avx512",
"amx-movrs", NULL, NULL, NULL,
NULL, NULL, NULL, NULL,