Skip to content

Commit

Permalink
KVM: Add 14 CPUID check test cases for TD and Non-TD
Browse files Browse the repository at this point in the history
Signed-off-by: Xudong Hao <[email protected]>
  • Loading branch information
xhao22 committed Oct 10, 2024
1 parent 8e3b482 commit 75784bf
Showing 1 changed file with 44 additions and 12 deletions.
56 changes: 44 additions & 12 deletions KVM/qemu/x86_cpuid.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,21 @@
auto_cpu_model = "no"
cpu_model = host
variants:
# SRF
- avx_ifma:
features = "AVX_IFMA"
- avx_vnni_int8:
features = "AVX_VNNI_INT8"
- avx_ne_convert:
features = "AVX_NE_CONVERT"
- cmpccxadd:
features = "CMPCCXADD"
# GNR
- amx_fp16:
features = "AMX_FP16"
- prefetchi:
features = "PREFETCHI"
# SPR
- avx512_fp16:
# The name should be same as the KEY/s in cpuid_info dictionary
# "BM/instruction-check/feature_list.py"
Expand All @@ -26,20 +41,37 @@
features = "AMX_INT8"
- amx_tile:
features = "AMX_TILE"
- amx_fp16:
features = "AMX_FP16"
- prefetchi:
features = "PREFETCHI"
- avx_ifma:
features = "AVX_IFMA"
- avx_vnni_int8:
features = "AVX_VNNI_INT8"
- avx_ne_convert:
features = "AVX_NE_CONVERT"
- cmpccxadd:
features = "CMPCCXADD"
- xfd:
features = "XFD"
- movdiri:
features = "MOVDIRI"
- movdir64b:
features = "MOVDIR64B"
- waitpkg:
features = "WAITPKG"
- cldemote:
features = "CLDEMOTE"
# ICX
- umip:
features = "UMIP"
- avx512_ifma:
features = "AVX512_IFMA"
- avx512_vbmi:
features = "AVX512_VBMI"
- avx512_vbmi2:
features = "AVX512_VBMI2"
- avx512_vnni:
features = "AVX512_VNNI"
- avx512_bitalg:
features = "AVX512_BITALG"
- gfni:
features = "GFNI"
- vaes:
features = "VAES"
- vpclmulqdq:
features = "VPCLMULQDQ"
- sha_ni:
features = "SHA_NI"
variants:
- vm:
- tdvm:
Expand Down

0 comments on commit 75784bf

Please sign in to comment.