diff options
author | Ben Shi <powerman1st@163.com> | 2018-03-20 08:25:08 +0000 |
---|---|---|
committer | Cherry Zhang <cherryyz@google.com> | 2018-04-11 16:06:01 +0000 |
commit | e1040d79557de627b18c928a3c498e89f1dcd9da (patch) | |
tree | 2ff1d1988014aca06a4caac9575fbe37688642d6 /test/codegen/stack.go | |
parent | 9446eaa9443cb4ac5e2dcdc0f7a8d3633d96b3ec (diff) | |
download | go-git-e1040d79557de627b18c928a3c498e89f1dcd9da.tar.gz |
cmd/internal/obj/arm64: support SWPD/SWPW/SWPH/SWPB
SWPD/SWPW/SWPH/SWPB were introduced in ARMv8.1. They swap content
of register and memory atomically. And their difference is
SWPD: 64-bit double word data
SWPW: 32-bit word data (zero extended to 64-bit)
SWPH: 16-bit half word data (zero extended to 64-bit)
SWPB: 8-bit byte data (zero extended to 64-bit)
This CL implements them in the arm64 assembler.
Change-Id: I2d9fb2310674bd92693531210e187143e7eed602
Reviewed-on: https://go-review.googlesource.com/101516
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'test/codegen/stack.go')
0 files changed, 0 insertions, 0 deletions