mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-25 11:47:43 +03:00
Add SHA2 SIMD feature tests for FreeBSD
These are added: - zfs_neon_available() for arm and aarch64 - zfs_sha256_available() for arm and aarch64 - zfs_sha512_available() for aarch64 - zfs_shani_available() for x86_64 Changes: - simd_powerpc.h: change license from CDDL to BSD Tested-by: Rich Ercolani <rincebrain@gmail.com> Tested-by: Sebastian Gottschall <s.gottschall@dd-wrt.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Tino Reichardt <milky-zfs@mcmilk.de> Closes #13741
This commit is contained in:
committed by
Brian Behlendorf
parent
6723d1110f
commit
589143c225
@@ -32,6 +32,12 @@
|
||||
#if defined(__amd64__) || defined(__i386__)
|
||||
#include <sys/simd_x86.h>
|
||||
|
||||
#elif defined(__arm__)
|
||||
#include <sys/simd_arm.h>
|
||||
|
||||
#elif defined(__aarch64__)
|
||||
#include <sys/simd_aarch64.h>
|
||||
|
||||
#elif defined(__powerpc__)
|
||||
#include <sys/simd_powerpc.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user