go /
arch /
b41bfd5e5fb0c0789b23e3a77fc8e95a9f1feabb arm/armasm: rename VLDR/VSTR in plan9 syntax
Some load/store instructions are renamed in plan9 syntax, such as
LDR -> MOVW
STR -> MOVW
LDRB -> MOVBU
LDRSB -> MOVBS
STRB -> MOVB
LDRH -> MOVHU
LDRSH -> MOVSH
STRH -> MOVH
And VLDR/VSTR also need to be renamed.
VLDR.F32 -> MOVF (load from memory to single FP register)
VLDR.F64 -> MOVD (load from memory to double FP register)
VSTR.F32 -> MOVF (store single FP register to memory)
VSTR.F64 -> MOVD (store double FP register to memory)
This patch fixes this issue and adds corresponding tests.
fixes golang/go#20897
Change-Id: I03aaad6379fa6f7c9b808d6a4795a06299fb7a18
Reviewed-on: https://go-review.googlesource.com/47360
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
2 files changed