aboutsummaryrefslogtreecommitdiff
path: root/target/i386/cpu.c
diff options
context:
space:
mode:
authorTao Su <tao1.su@linux.intel.com>2023-08-30 15:43:24 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2023-09-01 23:44:39 +0200
commit3e76bafb28c8292be5c4a32cab873b3a82cbcc87 (patch)
treee4dcf87373e100cde7c3fa9f6cedeec60977cf91 /target/i386/cpu.c
parentabd41884c530aa025ada253bf1a5bd0c2b808219 (diff)
downloadqemu-3e76bafb28c8292be5c4a32cab873b3a82cbcc87.zip
qemu-3e76bafb28c8292be5c4a32cab873b3a82cbcc87.tar.gz
qemu-3e76bafb28c8292be5c4a32cab873b3a82cbcc87.tar.bz2
target/i386: Add support for AMX-COMPLEX in CPUID enumeration
Latest Intel platform GraniteRapids-D introduces AMX-COMPLEX, which adds two instructions to perform matrix multiplication of two tiles containing complex elements and accumulate the results into a packed single precision tile. AMX-COMPLEX is enumerated via CPUID.(EAX=7,ECX=1):EDX[bit 8]. Add the CPUID definition for AMX-COMPLEX, AMX-COMPLEX will be enabled automatically when using '-cpu host' and KVM advertises AMX-COMPLEX to userspace. Signed-off-by: Tao Su <tao1.su@linux.intel.com> Reviewed-by: Xiaoyao Li <xiaoyao.li@intel.com> Message-ID: <20230830074324.84059-1-tao1.su@linux.intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target/i386/cpu.c')
-rw-r--r--target/i386/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/i386/cpu.c b/target/i386/cpu.c
index 00f913b..24ee67b 100644
--- a/target/i386/cpu.c
+++ b/target/i386/cpu.c
@@ -980,7 +980,7 @@ FeatureWordInfo feature_word_info[FEATURE_WORDS] = {
.feat_names = {
NULL, NULL, NULL, NULL,
"avx-vnni-int8", "avx-ne-convert", NULL, NULL,
- NULL, NULL, NULL, NULL,
+ "amx-complex", NULL, NULL, NULL,
NULL, NULL, "prefetchiti", NULL,
NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL,