aboutsummaryrefslogtreecommitdiff
path: root/src/reflect
diff options
context:
space:
mode:
authorGuoqi Chen <chenguoqi@loongson.cn>2023-08-30 17:49:55 +0800
committerCherry Mui <cherryyz@google.com>2024-05-13 15:04:25 +0000
commitec711aaaaa31b551a47b3677d05014e8aa60f9ea (patch)
treec45b0fe0e81815706047149a753507a7f03e2e35 /src/reflect
parent5881ae742fc7eaa9b7d61b4ba37598c42aaa4753 (diff)
downloadgo-ec711aaaaa31b551a47b3677d05014e8aa60f9ea.tar.gz
go-ec711aaaaa31b551a47b3677d05014e8aa60f9ea.zip
all: delete loong64 non-register ABI fallback path
Change-Id: If1d3eba9a922ac6f9d78301bb8f07e445c712899 Reviewed-on: https://go-review.googlesource.com/c/go/+/525576 Run-TryBot: Cherry Mui <cherryyz@google.com> Reviewed-by: David Chase <drchase@google.com> Reviewed-by: sophie zhao <zhaoxiaolin@loongson.cn> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Cherry Mui <cherryyz@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Meidan Li <limeidan@loongson.cn> Commit-Queue: abner chenc <chenguoqi@loongson.cn> Run-TryBot: abner chenc <chenguoqi@loongson.cn>
Diffstat (limited to 'src/reflect')
-rw-r--r--src/reflect/asm_loong64.s10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/reflect/asm_loong64.s b/src/reflect/asm_loong64.s
index 520f0afdd5..c0dc244497 100644
--- a/src/reflect/asm_loong64.s
+++ b/src/reflect/asm_loong64.s
@@ -34,13 +34,8 @@ TEXT ·makeFuncStub(SB),(NOSPLIT|WRAPPER),$432
JAL runtime·spillArgs(SB)
MOVV REGCTXT, 32(R3) // save REGCTXT > args of moveMakeFuncArgPtrs < LOCAL_REGARGS
-#ifdef GOEXPERIMENT_regabiargs
MOVV REGCTXT, R4
MOVV R25, R5
-#else
- MOVV REGCTXT, 8(R3)
- MOVV R25, 16(R3)
-#endif
JAL ·moveMakeFuncArgPtrs<ABIInternal>(SB)
MOVV 32(R3), REGCTXT // restore REGCTXT
@@ -66,13 +61,8 @@ TEXT ·methodValueCall(SB),(NOSPLIT|WRAPPER),$432
ADDV $LOCAL_REGARGS, R3, R25 // spillArgs using R25
JAL runtime·spillArgs(SB)
MOVV REGCTXT, 32(R3) // save REGCTXT > args of moveMakeFuncArgPtrs < LOCAL_REGARGS
-#ifdef GOEXPERIMENT_regabiargs
MOVV REGCTXT, R4
MOVV R25, R5
-#else
- MOVV REGCTXT, 8(R3)
- MOVV R25, 16(R3)
-#endif
JAL ·moveMakeFuncArgPtrs<ABIInternal>(SB)
MOVV 32(R3), REGCTXT // restore REGCTXT
MOVV REGCTXT, 8(R3)