cpu_map: Add sha512, sm3, and sm4 CPU features

Introduced by Clearwater Forest platform.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Jiri Denemark 2024-12-18 13:27:40 +01:00
parent 41a6de76bc
commit 212b7d8e28

View File

@ -416,6 +416,15 @@
</feature> </feature>
<!-- cpuid level 0x00000007, 0x0001 (eax) --> <!-- cpuid level 0x00000007, 0x0001 (eax) -->
<feature name='sha512'>
<cpuid eax_in='0x00000007' ecx_in='0x00000001' eax='0x00000001'/>
</feature>
<feature name='sm3'>
<cpuid eax_in='0x00000007' ecx_in='0x00000001' eax='0x00000002'/>
</feature>
<feature name='sm4'>
<cpuid eax_in='0x00000007' ecx_in='0x00000001' eax='0x00000004'/>
</feature>
<feature name='avx-vnni'> <feature name='avx-vnni'>
<cpuid eax_in='0x00000007' ecx_in='0x00000001' eax='0x00000010'/> <cpuid eax_in='0x00000007' ecx_in='0x00000001' eax='0x00000010'/>
</feature> </feature>