From bb8917fa442f65c1a583a38d996efabd9fa66e95 Mon Sep 17 00:00:00 2001 From: Klaus Post Date: Wed, 10 Jan 2024 16:29:30 +0100 Subject: [PATCH] Use correct default for `-no-avx-gfni` in tests. --- reedsolomon_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reedsolomon_test.go b/reedsolomon_test.go index b852f002..a7f7ab25 100644 --- a/reedsolomon_test.go +++ b/reedsolomon_test.go @@ -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()