Skip to content

Commit

Permalink
Disable broken Leopard GF8 GFNI code (#229)
Browse files Browse the repository at this point in the history
GFNI is broken on Leopard GF8 (enabled with `WithLeopardGF(true)`). Disable it until fixed.

Regression in v1.11.2
  • Loading branch information
klauspost authored Nov 28, 2022
1 parent 11175a9 commit ff5c2f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions galois_amd64.go
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ func ifftDIT48(work [][]byte, dist int, log_m01, log_m23, log_m02 ffe8, o *optio
return
}

if o.useGFNI {
if false && o.useGFNI {
// Note that these currently require that length is multiple of 64.
t01 := gf2p811dMulMatrices[log_m01]
t23 := gf2p811dMulMatrices[log_m23]
Expand Down Expand Up @@ -388,7 +388,7 @@ func fftDIT48(work [][]byte, dist int, log_m01, log_m23, log_m02 ffe8, o *option
return
}

if o.useGFNI {
if false && o.useGFNI {
t01 := gf2p811dMulMatrices[log_m01]
t23 := gf2p811dMulMatrices[log_m23]
t02 := gf2p811dMulMatrices[log_m02]
Expand Down

0 comments on commit ff5c2f1

Please sign in to comment.