diff options
author | Jing Liu <jing2.liu@intel.com> | 2022-02-16 22:04:31 -0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-03-15 11:50:50 +0100 |
commit | f21a48171cf3fa39532fc8553fd82e81b88b6474 (patch) | |
tree | d329c64e13c0a95cc452122749b3841ab1234ef0 /target/i386/kvm | |
parent | 0f17f6b30f3b051f0f96ccc98c9f7f395713699f (diff) | |
download | qemu-f21a48171cf3fa39532fc8553fd82e81b88b6474.zip qemu-f21a48171cf3fa39532fc8553fd82e81b88b6474.tar.gz qemu-f21a48171cf3fa39532fc8553fd82e81b88b6474.tar.bz2 |
x86: Add AMX CPUIDs enumeration
Add AMX primary feature bits XFD and AMX_TILE to
enumerate the CPU's AMX capability. Meanwhile, add
AMX TILE and TMUL CPUID leaf and subleaves which
exist when AMX TILE is present to provide the maximum
capability of TILE and TMUL.
Signed-off-by: Jing Liu <jing2.liu@intel.com>
Signed-off-by: Yang Zhong <yang.zhong@intel.com>
Message-Id: <20220217060434.52460-6-yang.zhong@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target/i386/kvm')
-rw-r--r-- | target/i386/kvm/kvm.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/target/i386/kvm/kvm.c b/target/i386/kvm/kvm.c index f0d1de7..2edd1a2 100644 --- a/target/i386/kvm/kvm.c +++ b/target/i386/kvm/kvm.c @@ -1781,7 +1781,9 @@ int kvm_arch_init_vcpu(CPUState *cs) c = &cpuid_data.entries[cpuid_i++]; } break; - case 0x14: { + case 0x14: + case 0x1d: + case 0x1e: { uint32_t times; c->function = i; |