aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/kvm/lib/perf_test_util.c
diff options
context:
space:
mode:
authorYang Zhong <[email protected]>2021-01-05 00:49:09 +0000
committerPaolo Bonzini <[email protected]>2021-02-04 10:27:16 +0000
commit1085a6b585d7d1c441cd10fdb4c7a4d96a22eba7 (patch)
tree62ad0e885c2b2067134cbbd0b94a486a0d783e35 /tools/testing/selftests/kvm/lib/perf_test_util.c
parentEnumerate AVX Vector Neural Network instructions (diff)
downloadkernel-1085a6b585d7d1c441cd10fdb4c7a4d96a22eba7.tar.gz
kernel-1085a6b585d7d1c441cd10fdb4c7a4d96a22eba7.zip
KVM: Expose AVX_VNNI instruction to guset
Expose AVX (VEX-encoded) versions of the Vector Neural Network Instructions to guest. The bit definition: CPUID.(EAX=7,ECX=1):EAX[bit 4] AVX_VNNI The following instructions are available when this feature is present in the guest. 1. VPDPBUS: Multiply and Add Unsigned and Signed Bytes 2. VPDPBUSDS: Multiply and Add Unsigned and Signed Bytes with Saturation 3. VPDPWSSD: Multiply and Add Signed Word Integers 4. VPDPWSSDS: Multiply and Add Signed Integers with Saturation This instruction is currently documented in the latest "extensions" manual (ISE). It will appear in the "main" manual (SDM) in the future. Signed-off-by: Yang Zhong <[email protected]> Reviewed-by: Tony Luck <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/testing/selftests/kvm/lib/perf_test_util.c')
0 files changed, 0 insertions, 0 deletions