]> Cypherpunks repositories - gostls13.git/commit
cmd/asm, runtime: remove the RSB register from loong64
authorWANG Xuerui <git@xen0n.name>
Mon, 13 Mar 2023 08:20:50 +0000 (16:20 +0800)
committerBen Shi <powerman1st@163.com>
Tue, 21 Mar 2023 06:51:28 +0000 (06:51 +0000)
commit6f2ef5ec98e1a14ee7a2805f68241cfa5feff8bd
tree085fe40c94431a6389c95bf703818b2231b77c15
parentdac514ea370d9a5e5129614c58082fe1905f6dcb
cmd/asm, runtime: remove the RSB register from loong64

It was carryover from the mips64 port (where it represented the platform
GP register) but LoongArch platform ABI doesn't have the GP concept.

Change-Id: Iea326ae13676e95b040b52aaadc08d311b507bd3
Reviewed-on: https://go-review.googlesource.com/c/go/+/475815
Reviewed-by: abner chenc <chenguoqi@loongson.cn>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Cherry Mui <cherryyz@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
src/cmd/asm/internal/arch/arch.go
src/cmd/asm/internal/asm/operand_test.go
src/runtime/mkpreempt.go
src/runtime/preempt_loong64.s
src/runtime/signal_loong64.go