Add AVX10.1 CPUID support, i.e. add AVX10 support bit via
CPUID.(EAX=07H, ECX=01H):EDX[bit 19] and new CPUID leaf 0x24H so that
guest OS and applications can query the AVX10 CPUIDs directly. The AVX10.1
spec can be found in [*], it is worth mentioning that
VL128 (CPUID.(EAX=24H, ECX=00H):EBX[bit 16]) was dropped in rev3.0, but it
will be added back and reserved as 1.
Since GraniteRapids (stepping 1) is the first platform to support AVX10,
introduce GraniteRapids-v2 CPU model to add AVX10 in this patch set, and
add some missing features as well.
[*] https://cdrdv2.intel.com/v1/dl/getContent/784267
---
Tao Su (6):
target/i386: Add AVX512 state when AVX10 is supported
target/i386: add avx10-version property
target/i386: Add CPUID.24 leaf for AVX10
target/i386: Add feature dependencies for AVX10
target/i386: Add support for AVX10 in CPUID enumeration
target/i386: Introduce GraniteRapids-v2 model
target/i386/cpu.c | 90 ++++++++++++++++++++++++++++++++++++++++++-
target/i386/cpu.h | 16 ++++++++
target/i386/kvm/kvm.c | 3 +-
3 files changed, 107 insertions(+), 2 deletions(-)
base-commit: cea8ac78545a83e1f01c94d89d6f5a3f6b5c05d2
--
2.34.1