Call VZEROALL for a 30% benchmark improvement #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Go | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.20' | |
- name: Build | |
run: go build -v ./... | |
- name: Test platform default | |
run: go test -count=500 ./... | |
- name: Test AVX2 | |
run: go test -count=500 ./... | |
env: | |
GOAMD64: v3 | |
- name: Test AVX1 | |
run: go test -count=500 -tags vectorcmp_testing_avx ./... | |
- name: Test purego | |
run: go test -count=500 -tags purego ./... | |
- name: Build for GOARCH=arm64 | |
run: go build -v ./... | |
env: | |
GOARCH: arm64 |