diff options
author | Tao Su <tao1.su@linux.intel.com> | 2024-10-31 16:52:33 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-10-31 18:28:33 +0100 |
commit | 1a519388a882fbb352e49cbebb0ed8f62d05842d (patch) | |
tree | 6433274cf9495c8c720a93559cc8d7aaff312db1 /target/i386 | |
parent | 0d7475be3b402c25d74c5a4573cbeb733c8f3559 (diff) | |
download | qemu-1a519388a882fbb352e49cbebb0ed8f62d05842d.zip qemu-1a519388a882fbb352e49cbebb0ed8f62d05842d.tar.gz qemu-1a519388a882fbb352e49cbebb0ed8f62d05842d.tar.bz2 |
target/i386: Introduce GraniteRapids-v2 model
Update GraniteRapids CPU model to add AVX10 and the missing features(ss,
tsc-adjust, cldemote, movdiri, movdir64b).
Tested-by: Xuelian Guo <xuelian.guo@intel.com>
Signed-off-by: Tao Su <tao1.su@linux.intel.com>
Link: https://lore.kernel.org/r/20241028024512.156724-7-tao1.su@linux.intel.com
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Link: https://lore.kernel.org/r/20241031085233.425388-9-tao1.su@linux.intel.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target/i386')
-rw-r--r-- | target/i386/cpu.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/target/i386/cpu.c b/target/i386/cpu.c index 7666a50..3baa954 100644 --- a/target/i386/cpu.c +++ b/target/i386/cpu.c @@ -4403,6 +4403,23 @@ static const X86CPUDefinition builtin_x86_defs[] = { .model_id = "Intel Xeon Processor (GraniteRapids)", .versions = (X86CPUVersionDefinition[]) { { .version = 1 }, + { + .version = 2, + .props = (PropValue[]) { + { "ss", "on" }, + { "tsc-adjust", "on" }, + { "cldemote", "on" }, + { "movdiri", "on" }, + { "movdir64b", "on" }, + { "avx10", "on" }, + { "avx10-128", "on" }, + { "avx10-256", "on" }, + { "avx10-512", "on" }, + { "avx10-version", "1" }, + { "stepping", "1" }, + { /* end of list */ } + } + }, { /* end of list */ }, }, }, |