Make sure assembler is formatted (#145)

* Make sure assembler is formatted
master
Klaus Post 2020-05-14 12:04:55 +02:00 committed by GitHub
parent 27f8a7b6bf
commit f338110979
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 47 additions and 40 deletions

View File

@ -29,10 +29,14 @@ script:
- go build examples/stream-decoder.go - go build examples/stream-decoder.go
- go build examples/stream-encoder.go - go build examples/stream-encoder.go
stages:
- gofmt
- test
- deploy
jobs: jobs:
allow_failures: allow_failures:
- go: 'master' - go: 'master'
- arch: s390x
fast_finish: true fast_finish: true
include: include:
- stage: gofmt - stage: gofmt
@ -40,7 +44,10 @@ jobs:
os: linux os: linux
arch: amd64 arch: amd64
script: script:
- diff <(gofmt -d .) <("") - diff <(gofmt -d .) <(printf "")
- diff <(gofmt -d ./examples) <(printf "")
- go install github.com/klauspost/asmfmt/cmd/asmfmt
- diff <(asmfmt -d .) <(printf "")
- stage: race - stage: race
go: 1.14.x go: 1.14.x
os: linux os: linux

View File

@ -53,7 +53,6 @@ loop:
complete: complete:
RET RET
// func galMulXorNEON(low, high, in, out []byte) // func galMulXorNEON(low, high, in, out []byte)
TEXT ·galMulXorNEON(SB), 7, $0 TEXT ·galMulXorNEON(SB), 7, $0
MOVD in_base+48(FP), R1 MOVD in_base+48(FP), R1
@ -131,3 +130,4 @@ loopXor:
completeXor: completeXor:
RET RET