Skip to content

Commit 481df9d

Browse files
authored
cpufeatures: support more AVX512-related features (#1035)
This PR adds support for the following features for x86_64: `GFNI` `VAES` `VPCLMULQDQ` `AVX512_BITALG` `AVX512_VPOPCNTDQ`
1 parent b896607 commit 481df9d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cpufeatures/src/x86.rs

+5
Original file line numberDiff line numberDiff line change
@@ -144,4 +144,9 @@ __expand_check_macro! {
144144
("avx512vl", "zmm", 1, ebx, 31),
145145
("avx512vbmi", "zmm", 1, ecx, 1),
146146
("avx512vbmi2", "zmm", 1, ecx, 6),
147+
("gfni", "zmm", 1, ecx, 8),
148+
("vaes", "zmm", 1, ecx, 9),
149+
("vpclmulqdq", "zmm", 1, ecx, 10),
150+
("avx512bitalg", "zmm", 1, ecx, 12),
151+
("avx512vpopcntdq", "zmm", 1, ecx, 14),
147152
}

0 commit comments

Comments
 (0)