Skip to content

Commit

Permalink
simd_stat: expose availability of VAES and VPCLMULQDQ
Browse files Browse the repository at this point in the history
Signed-off-by: Rob Norris <robn@despairlabs.com>
  • Loading branch information
robn authored and lowjoel committed Mar 8, 2025
1 parent 7fe0726 commit a6b8673
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions module/zcommon/simd_stat.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@ simd_stat_kstat_data(char *buf, size_t size, void *data)
"pclmulqdq", zfs_pclmulqdq_available());
off += SIMD_STAT_PRINT(simd_stat_kstat_payload,
"movbe", zfs_movbe_available());
off += SIMD_STAT_PRINT(simd_stat_kstat_payload,
"vaes", zfs_vaes_available());
off += SIMD_STAT_PRINT(simd_stat_kstat_payload,
"vpclmulqdq", zfs_vpclmulqdq_available());

off += SIMD_STAT_PRINT(simd_stat_kstat_payload,
"osxsave", boot_cpu_has(X86_FEATURE_OSXSAVE));
Expand Down

0 comments on commit a6b8673

Please sign in to comment.