]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/arm64: add support for a series of load/store with register offset...
authorfanzha02 <fannie.zhang@arm.com>
Fri, 26 Jan 2018 08:15:49 +0000 (08:15 +0000)
committerCherry Zhang <cherryyz@google.com>
Wed, 11 Apr 2018 14:53:02 +0000 (14:53 +0000)
commit604028568e1a8c2c750ca4731c0c695516ffee65
tree143675747544b2850d56788b70b2119965076ad5
parente0ac5f540bf0d5fff39ce05d60e82d97a011e935
cmd/internal/obj/arm64: add support for a series of load/store with register offset instrucitons

The patch adds support for arm64 instructions LDRB, LDRH, LDRSB,
LDRSH, LDRSW, STR, STRB and STRH with register offset.

Test cases are also added.

Change-Id: I8d17fddd2963c0bc366e12b00bac49b93f3f0957
Reviewed-on: https://go-review.googlesource.com/91575
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/asm/internal/asm/testdata/arm64.s
src/cmd/asm/internal/asm/testdata/arm64error.s
src/cmd/internal/obj/arm64/asm7.go
src/cmd/internal/obj/arm64/doc.go