Commit Graph
2 Commits
Author SHA1 Message Date
Gayatri Kammela 694dda62d2 lib/raid6: Add AVX512 optimized xor_syndrome functions
Optimize RAID6 xor_syndrome functions to take advantage of the 512-bit
ZMM integer instructions introduced in AVX512.

AVX512 optimized xor_syndrome functions, which is simply based on sse2.c
written by hpa.

The patch was tested and benchmarked before submission on
a hardware that has AVX512 flags to support such instructions

Cc: H. Peter Anvin <[email protected]>
Cc: Jim Kukunas <[email protected]>
Cc: Fenghua Yu <[email protected]>
Cc: Megha Dey <[email protected]>
Signed-off-by: Gayatri Kammela <[email protected]>
Reviewed-by: Fenghua Yu <[email protected]>
Signed-off-by: Shaohua Li <[email protected]>
2016-09-21 09:09:44 -07:00
Gayatri Kammela e0a491c129 lib/raid6: Add AVX512 optimized gen_syndrome functions
Optimize RAID6 gen_syndrom functions to take advantage of
the 512-bit ZMM integer instructions introduced in AVX512.

AVX512 optimized gen_syndrom functions, which is simply based
on avx2.c written by Yuanhan Liu and sse2.c written by hpa.

The patch was tested and benchmarked before submission on
a hardware that has AVX512 flags to support such instructions

Cc: H. Peter Anvin <[email protected]>
Cc: Jim Kukunas <[email protected]>
Cc: Fenghua Yu <[email protected]>
Signed-off-by: Megha Dey <[email protected]>
Signed-off-by: Gayatri Kammela <[email protected]>
Reviewed-by: Fenghua Yu <[email protected]>
Signed-off-by: Shaohua Li <[email protected]>
2016-09-21 09:09:44 -07:00