aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/abi-internal.md
AgeCommit message (Collapse)Author
2021-07-02[dev.typeparams] all: merge master (912f075) into dev.typeparamsMatthew Dempsky
Conflicts: - src/cmd/compile/internal/escape/escape.go On master, CL 332230 changed the ">=" in HeapAllocReason to ">"; but on dev.typeparams, CL 329989 moved HeapAllocReason into utils.go. Merge List: + 2021-07-02 912f075047 net/http: mention socks5 support in proxy + 2021-07-02 287c5e8066 cmd/compile: fix stack growing algorithm + 2021-07-02 743f03eeb0 spec, unsafe: clarify unsafe.Slice docs + 2021-07-02 6125d0c426 cmd/dist: correct comment: SysProcAttri -> SysProcAttr + 2021-07-01 03761ede02 net: don't reject null mx records + 2021-07-01 877688c838 testing: add TB.Setenv + 2021-07-01 ef8ae82b37 cmd/compile: fix bug in dwarf-gen var location generation + 2021-07-01 770899f7e1 cmd/go: add a regression test for 'go mod vendor' path traversal + 2021-07-01 835d86a17e cmd/go: use path.Dir instead of filepath.Dir for package paths in 'go mod vendor' + 2021-07-01 eb437ba92c cmd/compile: make stack value size threshold comparisons consistent + 2021-07-01 9d65578b83 cmd/compile: fix typos in document Change-Id: I08aa852441af0f070aa32dd2f99b6fa4e9d79cfa
2021-07-01cmd/compile: fix typos in documentfanzha02
Correct "a2Spill" to "a3Spill" Change-Id: I6ac4c45973dfaeb16d3a90d835589b6af1aefe1d Reviewed-on: https://go-review.googlesource.com/c/go/+/331850 Trust: fannie zhang <Fannie.Zhang@arm.com> Reviewed-by: Cherry Mui <cherryyz@google.com>
2021-05-24[dev.typeparams] cmd/compile/abi-internal.md: specify ARM64 register-based ABICherry Mui
The ABI is similar to the AMD64 ABI, just uses different registers and stack layout. The stack layout is compatible with the current stack-based ABI0. To be implemented in Go 1.18. Change-Id: If9c5e664574947f959d3427e3bed769e05d2d673 Reviewed-on: https://go-review.googlesource.com/c/go/+/319829 Trust: Cherry Mui <cherryyz@google.com> Reviewed-by: Than McIntosh <thanm@google.com>
2021-05-12cmd/compile/abi-internal.md: fix table formatCherry Mui
The table was not rendered correctly because one line missed a column. Change-Id: I1373e4e9fb8b8f2dcd9fd0db339083362cce9b71 Reviewed-on: https://go-review.googlesource.com/c/go/+/319291 Trust: Cherry Mui <cherryyz@google.com> Reviewed-by: Than McIntosh <thanm@google.com>
2021-04-09cmd/compile/abi-internal: declare R14 completely fixedAustin Clements
Currently, we allow R14, the current goroutine pointer, to be clobbered in function bodies as long as the function restores it. This is unnecessary complexity and could lead to confusing inconsistencies with other architectures that can't simply restore it from TLS. Updates #40724. Change-Id: I4c052f0dd0b31d31afeb0c5aff05c314d7a852f3 Reviewed-on: https://go-review.googlesource.com/c/go/+/309009 Trust: Austin Clements <austin@google.com> Reviewed-by: Cherry Zhang <cherryyz@google.com>
2021-04-09cmd/compile/abi-internal: declare X15 scratch in function bodiesAustin Clements
X15 must be zero at function calls and returns, but can be used as scratch in the middle of a function. This allows things like memmove and the hashing functions to use X15 temporarily, as long as they set it back to 0 before returning. This CL also clarifies the distinction between register meanings on function call versus function return, since some of them have fixed meanings at both call and return, while others only have a fixed meaning at calls. Updates #40724. Change-Id: I9dad3abde42cd4d2788e8435cde6d55073dd75a3 Reviewed-on: https://go-review.googlesource.com/c/go/+/308929 Trust: Austin Clements <austin@google.com> Reviewed-by: Cherry Zhang <cherryyz@google.com>
2021-03-07cmd/compile: rename internal-abi.md to abi-internal.mdMatthew Dempsky
Allows muscle-memoried tab completion of cmd/compile/internal/... paths to work again. Change-Id: Ib54a5f2cc9fabcb876c2e62635828ab28b565501 Reviewed-on: https://go-review.googlesource.com/c/go/+/299530 Reviewed-by: Austin Clements <austin@google.com> Trust: Matthew Dempsky <mdempsky@google.com>