Skip to content

fix: mismatch parsed and output length on amd64 #28

fix: mismatch parsed and output length on amd64

fix: mismatch parsed and output length on amd64 #28

Workflow file for this run

name: test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
example:
name: example
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v4
- name: Install clang
uses: ConorMacBride/install-package@v1
with:
apt: clang libc6-dev-i386
- name: Install GOAT
run: go install .
- name: Run GOAT
run: goat src/avx_mul_to.c -O3 -mavx -mfma
working-directory: example
- name: Run tests
run: go test -v ./...
working-directory: example
cases:
name: cases
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v4
- name: Install clang
uses: ConorMacBride/install-package@v1
with:
apt: clang libc6-dev-i386
- name: Install GOAT
run: go install .
- name: Run tests
run: |
for file in tests/*.c; do
goat $file -O3 -mavx -mfma
done
- name: Run amd64-only tests
run: |
for file in tests/amd64/*.c; do
goat $file -O3 -mavx -mfma
done