aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRomain Dolbeau <[email protected]>2016-11-02 20:40:23 +0100
committerBrian Behlendorf <[email protected]>2016-11-02 12:40:23 -0700
commit7f547f85fe783a6ac69ce250b361436b9c4888a6 (patch)
treea197e8503cbf9f9edebfac791f6afed2c2d66382 /lib
parent6d4210052be6c63032d693aa487f84955b0dae44 (diff)
Add parity generation/rebuild using AVX-512 for x86-64
avx512f should work on all AVX512 hardware, since it only uses Foundation instructions. avx512bw should be faster on hardware supporting the AVW512BW extension. We can use full-width pshufb (instead of relying on the 256 bits AVX2 pshufb). As a side-effect, the code is also unrolled more. Reviewed-by: Richard Laager <[email protected]> Reviewed-by: Gvozden Neskovic <[email protected]> Reviewed-by: Jinshan Xiong <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Romain Dolbeau <[email protected]> Closes #5219
Diffstat (limited to 'lib')
-rw-r--r--lib/libzpool/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libzpool/Makefile.am b/lib/libzpool/Makefile.am
index 13353a58a..ac1a78208 100644
--- a/lib/libzpool/Makefile.am
+++ b/lib/libzpool/Makefile.am
@@ -102,6 +102,8 @@ KERNEL_C = \
vdev_raidz_math_sse2.c \
vdev_raidz_math_ssse3.c \
vdev_raidz_math_avx2.c \
+ vdev_raidz_math_avx512f.c \
+ vdev_raidz_math_avx512bw.c \
vdev_raidz_math_aarch64_neon.c \
vdev_raidz_math_aarch64_neonx2.c \
vdev_root.c \