Skip to content

Commit

Permalink
cpufeatures: support more AVX512-related features (#1035)
Browse files Browse the repository at this point in the history
This PR adds support for the following features for x86_64:

`GFNI`
`VAES`
`VPCLMULQDQ`
`AVX512_BITALG`
`AVX512_VPOPCNTDQ`
  • Loading branch information
silvanshade authored Jan 4, 2024
1 parent b896607 commit 481df9d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cpufeatures/src/x86.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,4 +144,9 @@ __expand_check_macro! {
("avx512vl", "zmm", 1, ebx, 31),
("avx512vbmi", "zmm", 1, ecx, 1),
("avx512vbmi2", "zmm", 1, ecx, 6),
("gfni", "zmm", 1, ecx, 8),
("vaes", "zmm", 1, ecx, 9),
("vpclmulqdq", "zmm", 1, ecx, 10),
("avx512bitalg", "zmm", 1, ecx, 12),
("avx512vpopcntdq", "zmm", 1, ecx, 14),
}

0 comments on commit 481df9d

Please sign in to comment.