target/i386: add avx-vnni-int16 feature
PATCH 1/1 target/i386: add avx-vnni-int16 feature
SHA512, SM3, SM4 (CPUID[EAX=7,ECX=1).EAX bits 0 to 2) is supported by Clearwater Forest processor, add it to QEMU as it does not need any specific enablement.
See https://lore.kernel.org/kvm/[email protected]/
for reference.
--- target/i386/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
target/i386/cpu.c +1 -1
@@ -1113,7 +1113,7 @@ FeatureWordInfo feature_word_info[FEATURE_WORDS] = { [FEAT_7_1_EAX] = { .type = CPUID_FEATURE_WORD, .feat_names = { -NULL ,NULL ,NULL ,NULL , +"sha512" ,"sm3" ,"sm4" ,NULL ,"avx-vnni" ,"avx512-bf16" ,NULL ,"cmpccxadd" ,NULL ,NULL ,"fzrm" ,"fsrs" , "fsrc", NULL, NULL, NULL,
Signature · 1 line
2.47.0
Quoted 17 lines · Paolo Bonzini
SHA512, SM3, SM4 (CPUID[EAX=7,ECX=1).EAX bits 0 to 2) is supported by Clearwater Forest processor, add it to QEMU as it does not need any specific enablement.
See https://lore.kernel.org/kvm/[email protected]/
for reference.Signed-off-by Paolo Bonzini <[email protected]>--- target/i386/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)target/i386/cpu.c +0
-0
target/i386/cpu.c FeatureWordInfo feature_word_info[FEATURE_WORDS] = { · line 1119
Quoted 8 lines
target/i386/cpu.c +1
-1@@ -1113,7 +1113,7 @@ FeatureWordInfo feature_word_info[FEATURE_WORDS] = { [FEAT_7_1_EAX] = { .type = CPUID_FEATURE_WORD, .feat_names = { -NULL ,NULL ,NULL ,NULL , +"sha512" ,"sm3" ,"sm4" ,NULL ,"avx-vnni" ,"avx512-bf16" ,NULL ,"cmpccxadd" ,NULL ,NULL ,"fzrm" ,"fsrs" , "fsrc", NULL, NULL, NULL,
Obviously the subject is wrong, sorry about that.
Paolo
Quoted 8 lines · Paolo Bonzini
SHA512, SM3, SM4 (CPUID[EAX=7,ECX=1).EAX bits 0 to 2) is supported by Clearwater Forest processor, add it to QEMU as it does not need any specific enablement.
See https://lore.kernel.org/kvm/[email protected]/
for reference.Signed-off-by Paolo Bonzini <[email protected]>
The patch name is still for avx-vnni-int16.
LGTM,