diff options
author | Romain Dolbeau <[email protected]> | 2016-11-02 20:40:23 +0100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2016-11-02 12:40:23 -0700 |
commit | 7f547f85fe783a6ac69ce250b361436b9c4888a6 (patch) | |
tree | a197e8503cbf9f9edebfac791f6afed2c2d66382 /cmd/raidz_test | |
parent | 6d4210052be6c63032d693aa487f84955b0dae44 (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 'cmd/raidz_test')
-rw-r--r-- | cmd/raidz_test/raidz_test.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/raidz_test/raidz_test.h b/cmd/raidz_test/raidz_test.h index 89bbf413b..b279d82f2 100644 --- a/cmd/raidz_test/raidz_test.h +++ b/cmd/raidz_test/raidz_test.h @@ -34,6 +34,8 @@ static const char *raidz_impl_names[] = { "sse2", "ssse3", "avx2", + "avx512f", + "avx512bw", "aarch64_neon", "aarch64_neonx2", NULL |