Skip to content

Commit 2fdcc8c

Browse files
robnlowjoel
authored andcommitted
simd_stat: expose availability of VAES and VPCLMULQDQ
Signed-off-by: Rob Norris <[email protected]>
1 parent 091a68d commit 2fdcc8c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

module/zcommon/simd_stat.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,10 @@ simd_stat_kstat_data(char *buf, size_t size, void *data)
118118
"pclmulqdq", zfs_pclmulqdq_available());
119119
off += SIMD_STAT_PRINT(simd_stat_kstat_payload,
120120
"movbe", zfs_movbe_available());
121+
off += SIMD_STAT_PRINT(simd_stat_kstat_payload,
122+
"vaes", zfs_vaes_available());
123+
off += SIMD_STAT_PRINT(simd_stat_kstat_payload,
124+
"vpclmulqdq", zfs_vpclmulqdq_available());
121125

122126
off += SIMD_STAT_PRINT(simd_stat_kstat_payload,
123127
"osxsave", boot_cpu_has(X86_FEATURE_OSXSAVE));

0 commit comments

Comments
 (0)