commit | 0c39dc1ff72181d36f7e9fc61bfacc5a7b7c5c57 | [log] [tgz] |
---|---|---|
author | Cherry Mui <cherryyz@google.com> | Mon Apr 22 17:40:53 2024 -0400 |
committer | Cherry Mui <cherryyz@google.com> | Mon Apr 22 22:46:08 2024 +0000 |
tree | a11cc8d74f1aacea5f222e5fbd629a82e170c405 | |
parent | 552faa8927a23fd5967435295c14af1741ac3653 [diff] |
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>
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
Gopher image by Renee French, licensed under Creative Commons 4.0 Attributions license.
Our canonical Git repository is located at https://go.googlesource.com/go. There is a mirror of the repository at https://github.com/golang/go.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
Official binary distributions are available at https://go.dev/dl/.
After downloading a binary release, visit https://go.dev/doc/install for installation instructions.
If a binary distribution is not available for your combination of operating system and architecture, visit https://go.dev/doc/install/source for source installation instructions.
Go is the work of thousands of contributors. We appreciate your help!
To contribute, please read the contribution guidelines at https://go.dev/doc/contribute.
Note that the Go project uses the issue tracker for bug reports and proposals only. See https://go.dev/wiki/Questions for a list of places to ask questions about the Go language.