mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-23 02:44:41 +03:00
ABD Vectorized raidz
Enable vectorized raidz code on ABD buffers. The avx512f, avx512bw, neon and aarch64_neonx2 are disabled in this commit. With the exception of avx512bw these implementations are updated for ABD in the subsequent commits. Signed-off-by: Gvozden Neskovic <neskovic@gmail.com>
This commit is contained in:
committed by
Brian Behlendorf
parent
a206522c4f
commit
cbf484f8ad
@@ -24,7 +24,7 @@
|
||||
|
||||
#include <sys/isa_defs.h>
|
||||
|
||||
#if defined(__x86_64) && defined(HAVE_AVX512F)
|
||||
#if 0 // defined(__x86_64) && defined(HAVE_AVX512F)
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <linux/simd_x86.h>
|
||||
@@ -437,6 +437,21 @@ typedef struct v {
|
||||
kfpu_end(); \
|
||||
}
|
||||
|
||||
#define ZERO_STRIDE 4
|
||||
#define ZERO_DEFINE() {}
|
||||
#define ZERO_D 20, 21, 22, 23
|
||||
|
||||
#define COPY_STRIDE 4
|
||||
#define COPY_DEFINE() {}
|
||||
#define COPY_D 20, 21, 22, 23
|
||||
|
||||
#define ADD_STRIDE 4
|
||||
#define ADD_DEFINE() {}
|
||||
#define ADD_D 20, 21, 22, 23
|
||||
|
||||
#define MUL_STRIDE 4
|
||||
#define MUL_DEFINE() {}
|
||||
#define MUL_D 20, 21, 22, 23
|
||||
/*
|
||||
* This use zmm16-zmm31 registers to free up zmm0-zmm15
|
||||
* to use with the AVX2 pshufb, see above
|
||||
|
||||
Reference in New Issue
Block a user