aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
authorfanzha02 <fannie.zhang@arm.com>2018-01-16 03:00:04 +0000
committerCherry Zhang <cherryyz@google.com>2018-01-23 15:59:15 +0000
commitcafb36bf11c0ec30a5650a6f1200b0f046fc67a7 (patch)
tree057ef0cb2f50d75bcd3e05f3eaca1095b66ea624 /src/runtime
parent4a2f28f51ecabfb4a839d7f483a32ae9b9206c83 (diff)
downloadgo-cafb36bf11c0ec30a5650a6f1200b0f046fc67a7.tar.xz
cmd/internal/obj/arm64: fix assemble VLD1/VST1 bug
The current code misassembles VLD1/VST1 instruction with non-zero offset. The offset is dropped silently without any error message. The cause of the misassembling is the current code treats argument (Rn)(Rm) as ZOREG type. The fix changes the matching rules and considers (Rn)(Rm) as ROFF type. The fix will report error information when assembles VLD1/VST1 (R8)(R13), [V1.16B]. The fix enables the ARM64Errors test. Fixes #23448 Change-Id: I3dd518b91e9960131ffb8efcb685cb8df84b70eb Reviewed-on: https://go-review.googlesource.com/87956 Reviewed-by: Cherry Zhang <cherryyz@google.com> Run-TryBot: Cherry Zhang <cherryyz@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/runtime')
0 files changed, 0 insertions, 0 deletions