mirror of
https://github.com/pgsty/minio.git
synced 2026-08-11 00:33:28 +03:00
Vendor the upstream changes with Avx512 (#7225)
Thanks to @fwessels we have Avx512 support with 4x improvement
This commit is contained in:
committed by
Nitish Tiwari
parent
fef5416b3c
commit
118270d76f
+5
-2
@@ -31,7 +31,7 @@ func galMulPpcXor(low, high, in, out []byte) {
|
||||
}
|
||||
*/
|
||||
|
||||
func galMulSlice(c byte, in, out []byte, ssse3, avx2 bool) {
|
||||
func galMulSlice(c byte, in, out []byte, o *options) {
|
||||
done := (len(in) >> 4) << 4
|
||||
if done > 0 {
|
||||
galMulPpc(mulTableLow[c][:], mulTableHigh[c][:], in[:done], out)
|
||||
@@ -45,7 +45,7 @@ func galMulSlice(c byte, in, out []byte, ssse3, avx2 bool) {
|
||||
}
|
||||
}
|
||||
|
||||
func galMulSliceXor(c byte, in, out []byte, ssse3, avx2 bool) {
|
||||
func galMulSliceXor(c byte, in, out []byte, o *options) {
|
||||
done := (len(in) >> 4) << 4
|
||||
if done > 0 {
|
||||
galMulPpcXor(mulTableLow[c][:], mulTableHigh[c][:], in[:done], out)
|
||||
@@ -65,3 +65,6 @@ func sliceXor(in, out []byte, sse2 bool) {
|
||||
out[n] ^= input
|
||||
}
|
||||
}
|
||||
|
||||
func (r reedSolomon) codeSomeShardsAvx512(matrixRows, inputs, outputs [][]byte, outputCount, byteCount int) {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user