]> Cypherpunks repositories - gostls13.git/commit
runtime: save lasx and lsx registers in loong64 async preemption
authorGuoqi Chen <chenguoqi@loongson.cn>
Thu, 11 Sep 2025 08:21:44 +0000 (16:21 +0800)
committerabner chenc <chenguoqi@loongson.cn>
Tue, 21 Oct 2025 06:25:14 +0000 (23:25 -0700)
commit99cf4d671cb48133d6c23e547eb46e1b9d3f21e4
tree8bb0117583ec2eed060cbc9b12c9a704f7a3cbd0
parent79ae97fe9bf44814f7bed7e6a6297150070817f3
runtime: save lasx and lsx registers in loong64 async preemption

This is a port of CL 669195 and CL 695916 adjusted to save loong64
lasx and lsx registers off stack.

Change-Id: Ie56787c76259a9545f5a8adcb09f588c8451bbd6
Reviewed-on: https://go-review.googlesource.com/c/go/+/711180
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Meidan Li <limeidan@loongson.cn>
src/runtime/mkpreempt.go
src/runtime/preempt_loong64.go [new file with mode: 0644]
src/runtime/preempt_loong64.s
src/runtime/preempt_noxreg.go
src/runtime/preempt_xreg.go