Debian Codegraph @

galois_arm64_test.go

raw
1 //go:build !noasm && !appengine && !gccgo && !nopshufb
2
3 // Copyright 2015, Klaus Post, see LICENSE for details.
4 // Copyright 2024, Minio, Inc.
5
6 package reedsolomon
7
8 import (
9 "testing"
10 )
11
12 func TestGenGalois(t *testing.T) {
13 if defaultOptions.useSVE {
14 testGenGalois10xN(t, galMulSlicesSve, galMulSlicesSveXor, defaultOptions.vectorLength)
15 }
16 if defaultOptions.useNEON {
17 testGenGalois10xN(t, galMulSlicesNeon, galMulSlicesNeonXor, 32)
18 }
19 }