]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/arm64: allow transition from $0 to ZR for MSR
authoreric fang <eric.fang@arm.com>
Wed, 31 Aug 2022 01:57:57 +0000 (01:57 +0000)
committerDavid Chase <drchase@google.com>
Wed, 31 Aug 2022 16:37:20 +0000 (16:37 +0000)
commitebc75ac1c6f056d5911286368d11022204e55947
treece4d5e54dc97544c4e6bab274c2e581e09853718
parentbc0a033266eeaed189a5c77becd45b861fd245f5
cmd/internal/obj/arm64: allow transition from $0 to ZR for MSR

Previously the first operand of MSR could be $0, which would be
converted to the ZR register. This is prohibited by CL 404316,
this CL restores this instruction format.

Change-Id: I5b5be59e76aa58423a0fb96942d1b2a9de62e311
Reviewed-on: https://go-review.googlesource.com/c/go/+/426198
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Heschi Kreinick <heschi@google.com>
Run-TryBot: Eric Fang <eric.fang@arm.com>
src/cmd/asm/internal/asm/testdata/arm64.s
src/cmd/internal/obj/arm64/obj7.go