From f3741745c796e22f3bf6ff5d08e4e160a9d3c29a Mon Sep 17 00:00:00 2001 From: Klaus Post Date: Tue, 15 Nov 2022 16:43:49 +0100 Subject: [PATCH] Add fallback funcs --- galois_gen_none.go | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/galois_gen_none.go b/galois_gen_none.go index 303d6a9f..11929e68 100644 --- a/galois_gen_none.go +++ b/galois_gen_none.go @@ -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") }