mirror of
https://github.com/golang/go
synced 2024-11-17 08:14:48 -07:00
runtime: remove arm64 non-register ABI fallback code
This presumably got missed in CL 393875. Change-Id: I4f2de00ebd6ec405d5e289a7f8c2fc781607260b Reviewed-on: https://go-review.googlesource.com/c/go/+/475617 TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Joel Sing <joel@sing.id.au> Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
This commit is contained in:
parent
c8402cd330
commit
602e6aa979
@ -295,14 +295,9 @@ TEXT runtime·sigtramp(SB),NOSPLIT|TOPFRAME,$176
|
||||
BEQ 2(PC)
|
||||
BL runtime·load_g(SB)
|
||||
|
||||
#ifdef GOEXPERIMENT_regabiargs
|
||||
// Restore signum to R0.
|
||||
MOVW 8(RSP), R0
|
||||
// R1 and R2 already contain info and ctx, respectively.
|
||||
#else
|
||||
MOVD R1, 16(RSP)
|
||||
MOVD R2, 24(RSP)
|
||||
#endif
|
||||
MOVD $runtime·sigtrampgo<ABIInternal>(SB), R3
|
||||
BL (R3)
|
||||
|
||||
|
@ -455,14 +455,9 @@ TEXT runtime·sigtramp(SB),NOSPLIT|TOPFRAME,$176
|
||||
CBZ R0, 2(PC)
|
||||
BL runtime·load_g(SB)
|
||||
|
||||
#ifdef GOEXPERIMENT_regabiargs
|
||||
// Restore signum to R0.
|
||||
MOVW 8(RSP), R0
|
||||
// R1 and R2 already contain info and ctx, respectively.
|
||||
#else
|
||||
MOVD R1, 16(RSP)
|
||||
MOVD R2, 24(RSP)
|
||||
#endif
|
||||
MOVD $runtime·sigtrampgo<ABIInternal>(SB), R3
|
||||
BL (R3)
|
||||
|
||||
@ -478,13 +473,7 @@ TEXT runtime·sigprofNonGoWrapper<>(SB),NOSPLIT,$176
|
||||
SAVE_R19_TO_R28(8*4)
|
||||
SAVE_F8_TO_F15(8*14)
|
||||
|
||||
#ifdef GOEXPERIMENT_regabiargs
|
||||
// R0, R1 and R2 already contain sig, info and ctx, respectively.
|
||||
#else
|
||||
MOVW R0, 8(RSP) // sig
|
||||
MOVD R1, 16(RSP) // info
|
||||
MOVD R2, 24(RSP) // ctx
|
||||
#endif
|
||||
CALL runtime·sigprofNonGo<ABIInternal>(SB)
|
||||
|
||||
// Restore callee-save registers.
|
||||
|
@ -317,14 +317,9 @@ TEXT runtime·sigtramp(SB),NOSPLIT|TOPFRAME,$176
|
||||
BEQ 2(PC)
|
||||
BL runtime·load_g(SB)
|
||||
|
||||
#ifdef GOEXPERIMENT_regabiargs
|
||||
// Restore signum to R0.
|
||||
MOVW 8(RSP), R0
|
||||
// R1 and R2 already contain info and ctx, respectively.
|
||||
#else
|
||||
MOVD R1, 16(RSP)
|
||||
MOVD R2, 24(RSP)
|
||||
#endif
|
||||
BL runtime·sigtrampgo<ABIInternal>(SB)
|
||||
|
||||
// Restore callee-save registers.
|
||||
|
@ -62,14 +62,9 @@ TEXT runtime·sigtramp(SB),NOSPLIT|TOPFRAME,$192
|
||||
MOVW R0, 8(RSP) // signum
|
||||
BL runtime·load_g(SB)
|
||||
|
||||
#ifdef GOEXPERIMENT_regabiargs
|
||||
// Restore signum to R0.
|
||||
MOVW 8(RSP), R0
|
||||
// R1 and R2 already contain info and ctx, respectively.
|
||||
#else
|
||||
MOVD R1, 16(RSP)
|
||||
MOVD R2, 24(RSP)
|
||||
#endif
|
||||
BL runtime·sigtrampgo<ABIInternal>(SB)
|
||||
|
||||
// Restore callee-save registers.
|
||||
|
Loading…
Reference in New Issue
Block a user