]> Cypherpunks repositories - gostls13.git/commit
cmd/asm/internal/asm: add aliases for ARM64 condition codes
authorAram Hăvărneanu <aram@mgk.ro>
Thu, 17 Sep 2015 09:47:16 +0000 (11:47 +0200)
committerAram Hăvărneanu <aram@mgk.ro>
Thu, 17 Sep 2015 15:11:08 +0000 (15:11 +0000)
commit61a3ebed5506a89c3f5ba7323a796384f1774f49
tree309cbd76d39a82a425524d49813f25dec048ffd7
parente7e27398498b1d91458ed24cbffcb19111fe5941
cmd/asm/internal/asm: add aliases for ARM64 condition codes

Add CS as an alias for HS, and CC as an alias for LO, otherwise

CSINV CS, R1, R2, R3

was interpreted as

CSINV 0, R1, R2, R3

Also fix the corresponding faulty test.

Fixes #12632
Updates #12470

Change-Id: I974cfc7e5ced682d4754ba09b0b102cb08a46567
Reviewed-on: https://go-review.googlesource.com/14680
Reviewed-by: Rob Pike <r@golang.org>
src/cmd/asm/internal/arch/arch.go
src/cmd/asm/internal/asm/testdata/arm64.out