]> Cypherpunks repositories - gostls13.git/commit
cmd/asm: remove X27 and S11 register names on riscv64
authorJoel Sing <joel@sing.id.au>
Tue, 27 Oct 2020 12:03:11 +0000 (23:03 +1100)
committerJoel Sing <joel@sing.id.au>
Thu, 29 Oct 2020 08:00:50 +0000 (08:00 +0000)
commit8b517983048205932305905bc01a29bd146cb8d6
tree6d628e5d112259ffd7685e6313dcc4bc81086e41
parentae82ee4016c44e558b002f0c7ffbb40d698d411e
cmd/asm: remove X27 and S11 register names on riscv64

The X27 register (known as S11 via its ABI name) is the g register on riscv64.
Prevent assembly from referring to it by either of these names.

Change-Id: Iba389eb8e44e097c0142c5b3d92e72bcae8a244a
Reviewed-on: https://go-review.googlesource.com/c/go/+/265519
Trust: Joel Sing <joel@sing.id.au>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
src/cmd/asm/internal/arch/arch.go