mirror of
https://github.com/anrieff/libcpuid
synced 2025-10-13 11:10:39 +00:00
Detect AVX512VBMI and AVX512VBMI2 features on Intel CPUs
More information: https://en.wikichip.org/wiki/x86/avx-512 Resolve #134
This commit is contained in:
parent
4b06a9a23e
commit
180154f03d
7 changed files with 430 additions and 0 deletions
|
@ -686,6 +686,8 @@ const char* cpu_feature_str(cpu_feature_t feature)
|
|||
{ CPU_FEATURE_RDSEED, "rdseed" },
|
||||
{ CPU_FEATURE_ADX, "adx" },
|
||||
{ CPU_FEATURE_AVX512VNNI, "avx512_vnni" },
|
||||
{ CPU_FEATURE_AVX512VBMI, "avx512_vbmi" },
|
||||
{ CPU_FEATURE_AVX512VBMI2, "avx512_vbmi2" },
|
||||
};
|
||||
unsigned i, n = COUNT_OF(matchtable);
|
||||
if (n != NUM_CPU_FEATURES) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue