Skip to content

Commit 1f02def

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

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

module/zcommon/simd_stat.c

+4
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,10 @@ simd_stat_kstat_data(char *buf, size_t size, void *data)
117117
"pclmulqdq", zfs_pclmulqdq_available());
118118
off += SIMD_STAT_PRINT(simd_stat_kstat_payload,
119119
"movbe", zfs_movbe_available());
120+
off += SIMD_STAT_PRINT(simd_stat_kstat_payload,
121+
"vaes", zfs_vaes_available());
122+
off += SIMD_STAT_PRINT(simd_stat_kstat_payload,
123+
"vpclmulqdq", zfs_vpclmulqdq_available());
120124

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

0 commit comments

Comments
 (0)