commit | bccfb846fd52d6f20704ecfa4d01b60b43c6f640 | [log] [tgz] |
---|---|---|
author | Tao Su <tao1.su@linux.intel.com> | Thu Oct 31 16:52:29 2024 +0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Thu Oct 31 18:28:33 2024 +0100 |
tree | f4e57cb36eee46729bdc95608bffafdda0aac851 | |
parent | 3507c6f04606593711408a6d26141bdbceff9377 [diff] |
target/i386: add AVX10 feature and AVX10 version property When AVX10 enable bit is set, the 0x24 leaf will be present as "AVX10 Converged Vector ISA leaf" containing fields for the version number and the supported vector bit lengths. Introduce avx10-version property so that avx10 version can be controlled by user and cpu model. Per spec, avx10 version can never be 0, the default value of avx10-version is set to 0 to determine whether it is specified by user. The default can come from the device model or, for the max model, from KVM's reported value. Signed-off-by: Tao Su <tao1.su@linux.intel.com> Link: https://lore.kernel.org/r/20241028024512.156724-3-tao1.su@linux.intel.com Link: https://lore.kernel.org/r/20241028024512.156724-4-tao1.su@linux.intel.com Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Tested-by: Xuelian Guo <xuelian.guo@intel.com> Link: https://lore.kernel.org/r/20241031085233.425388-5-tao1.su@linux.intel.com Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>