]> Cypherpunks repositories - gostls13.git/commit
cmd/asm: rename arm64 instructions LDANDx to LDCLRx
authorJonathan Swinney <jswinney@amazon.com>
Mon, 2 Nov 2020 16:36:10 +0000 (16:36 +0000)
committerCherry Zhang <cherryyz@google.com>
Wed, 4 Nov 2020 15:53:19 +0000 (15:53 +0000)
commit5f0fca1475e042a6e85f81ff6db676ec18805041
treec97daf65903d64f864da4a409876c104d7180989
parent633f9e206045176a12c301eb2c249c1c1d9a5d2e
cmd/asm: rename arm64 instructions LDANDx to LDCLRx

The LDANDx instructions were misleading because they correspond to the
mnemonic LDCLRx as defined in the Arm Architecture Reference Manual for
Armv8. This changes the assembler to use the same mnemonic as the GNU
assembler and the manual.

The instruction has the form:

LDCLRx Rs, (Rb), Rt: *Rb -> Rt, Rs AND NOT(*Rb) -> *Rb

Change-Id: I94ae003e99e817209bba1afe960e612bf3a0b410
Reviewed-on: https://go-review.googlesource.com/c/go/+/267138
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Reviewed-by: fannie zhang <Fannie.Zhang@arm.com>
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: fannie zhang <Fannie.Zhang@arm.com>
src/cmd/asm/internal/asm/testdata/arm64.s
src/cmd/asm/internal/asm/testdata/arm64error.s
src/cmd/internal/obj/arm64/a.out.go
src/cmd/internal/obj/arm64/anames.go
src/cmd/internal/obj/arm64/asm7.go