From ccd50e2cd332b4523d5deb257b694892e823f241 Mon Sep 17 00:00:00 2001 From: Xudong Hao Date: Mon, 9 Mar 2026 10:24:06 +0800 Subject: [PATCH] KVM: Add Diamond Rapids(DMR) New Instructions tests APX, AVX10.2, AMX*, MOVRS Signed-off-by: Xudong Hao --- KVM/qemu/x86_cpuid.cfg | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/KVM/qemu/x86_cpuid.cfg b/KVM/qemu/x86_cpuid.cfg index 01a1c57c..2eaf318d 100644 --- a/KVM/qemu/x86_cpuid.cfg +++ b/KVM/qemu/x86_cpuid.cfg @@ -10,6 +10,24 @@ auto_cpu_model = "no" cpu_model = host variants: + # DMR + - amx_complex: + features = "AMX_COMPLEX" + - amx_fp8: + features = "AMX_FP8" + - amx_tf32: + features = "AMX_TF32" + - amx_avx512: + features = "AMX_AVX512" + - amx_movrs: + features = "AMX_MOVRS" + - movrs: + features = "MOVRS" + - avx10_2: + features = "AVX10" + cpuid = "24 0 0 0 b 16, 24 0 0 0 b 17, 24 0 0 0 b 18, 24 0 1 0 c 2, 24 0 0 0 b 0:7 2" + - apx: + features = "APX" # CWF - sha512: features = "SHA512" @@ -46,7 +64,7 @@ features = "PREFETCHI" - avx10_1: features = "AVX10_1" - cpuid = "24 0 0 0 b 16 1, 24 0 0 0 b 17 1, 24 0 0 0 b 18 1, 24 0 0 0 b 0:7 1" + cpuid = "24 0 0 0 b 16, 24 0 0 0 b 17, 24 0 0 0 b 18, 24 0 0 0 b 0:7 1" # SPR - avx512_fp16: # The name should be same as the KEY/s in cpuid_info dictionary