Skip to content

Commit

Permalink
Use correct default for -no-avx-gfni in tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
klauspost committed Jan 10, 2024
1 parent 6c71a6b commit bb8917f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reedsolomon_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ var noSSSE3 = flag.Bool("no-ssse3", !defaultOptions.useSSSE3, "Disable SSSE3")
var noAVX2 = flag.Bool("no-avx2", !defaultOptions.useAVX2, "Disable AVX2")
var noAVX512 = flag.Bool("no-avx512", !defaultOptions.useAVX512, "Disable AVX512")
var noGNFI = flag.Bool("no-gfni", !defaultOptions.useAvx512GFNI, "Disable AVX512+GFNI")
var noAVX2GNFI = flag.Bool("no-avx-gfni", !defaultOptions.useAvx512GFNI, "Disable AVX+GFNI")
var noAVX2GNFI = flag.Bool("no-avx-gfni", !defaultOptions.useAvxGNFI, "Disable AVX+GFNI")

func TestMain(m *testing.M) {
flag.Parse()
Expand Down

0 comments on commit bb8917f

Please sign in to comment.