Skip to content

Commit

Permalink
Add pure AVX2 GFNI mode
Browse files Browse the repository at this point in the history
Use GFNI even if not on AVX512.
  • Loading branch information
klauspost committed Jan 7, 2024
1 parent 162f2ba commit 19e1b56
Show file tree
Hide file tree
Showing 12 changed files with 74,991 additions and 1,310 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ jobs:
- name: Test Nopshufb
run: go test -tags=nopshufb -short&&go test -tags=nopshufb -short -no-avx512 -no-gfni&&go test -tags=nopshufb -short&&go test -tags=nopshufb -no-avx512 -no-avx2 -no-ssse3 -no-sse2 -short


- name: Test Race
env:
CGO_ENABLED: 1
Expand Down Expand Up @@ -88,6 +87,11 @@ jobs:
CGO_ENABLED: 1
run: go test -no-avx512 -short -race .

- name: Test Races, no avx512, no avx2-gfni
env:
CGO_ENABLED: 1
run: go test -no-avx512 -no-avx2-gfni -short -race .

- name: Test Races, no avx2
env:
CGO_ENABLED: 1
Expand Down
Loading

0 comments on commit 19e1b56

Please sign in to comment.