diff options
author | Cherry Mui <cherryyz@google.com> | 2024-04-22 17:40:53 -0400 |
---|---|---|
committer | Cherry Mui <cherryyz@google.com> | 2024-04-22 22:46:08 +0000 |
commit | 0c39dc1ff72181d36f7e9fc61bfacc5a7b7c5c57 (patch) | |
tree | a11cc8d74f1aacea5f222e5fbd629a82e170c405 /src/cmd/compile/internal/ir/func.go | |
parent | 552faa8927a23fd5967435295c14af1741ac3653 (diff) | |
download | go-0c39dc1ff72181d36f7e9fc61bfacc5a7b7c5c57.tar.gz go-0c39dc1ff72181d36f7e9fc61bfacc5a7b7c5c57.zip |
runtime: reduce stack usage for asmcgocall on PPC64
Define it as ABIInternal, so the result does not take space on
stack.
Also use R10 as a temporary register for arithmetics on SP, so it
is hidden from the assembler's SP delta calculation, which is
irrelevant anyway as we are on the system stack.
Change-Id: I8fed467601c19cad2d7afab26978246d15ce3147
Reviewed-on: https://go-review.googlesource.com/c/go/+/580918
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Cherry Mui <cherryyz@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Diffstat (limited to 'src/cmd/compile/internal/ir/func.go')
0 files changed, 0 insertions, 0 deletions