]> git.proxmox.com Git - mirror_qemu.git/commit - target/i386/kvm/kvm.c
x86: Intel AVX512_BF16 feature enabling
authorJing Liu <jing2.liu@linux.intel.com>
Thu, 25 Jul 2019 06:14:16 +0000 (14:14 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 20 Aug 2019 18:00:52 +0000 (20:00 +0200)
commit80db491da4ce8b199e0e8d1e23943b20aab82f69
treeb0d325ec6f68410fd19615af2c47becdb365af07
parentde594e47659029316bbf9391efb79da0a1a08e08
x86: Intel AVX512_BF16 feature enabling

Intel CooperLake cpu adds AVX512_BF16 instruction, defining as
CPUID.(EAX=7,ECX=1):EAX[bit 05].

The patch adds a property for setting the subleaf of CPUID leaf 7 in
case that people would like to specify it.

The release spec link as follows,
https://software.intel.com/sites/default/files/managed/c5/15/\
architecture-instruction-set-extensions-programming-reference.pdf

Signed-off-by: Jing Liu <jing2.liu@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/cpu.c
target/i386/cpu.h
target/i386/kvm.c