Skip to content

Commit

Permalink
Add fallback funcs
Browse files Browse the repository at this point in the history
  • Loading branch information
klauspost committed Nov 15, 2022
1 parent bf0ce8a commit f374174
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions galois_gen_none.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,17 @@ const avxSizeMask = 0
const avx2CodeGen = false

func galMulSlicesAvx2(matrix []byte, in, out [][]byte, start, stop int) int {
panic("avx2 codegen not available")
panic("codegen not available")
}

func galMulSlicesAvx2Xor(matrix []byte, in, out [][]byte, start, stop int) int {
panic("avx2 codegen not available")
panic("codegen not available")
}

func galMulSlicesGFNI(matrix []uint64, in, out [][]byte, start, stop int) int {
panic("codegen not available")
}

func galMulSlicesGFNIXor(matrix []uint64, in, out [][]byte, start, stop int) int {
panic("codegen not available")
}

0 comments on commit f374174

Please sign in to comment.