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>
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)
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)
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.
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.
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.