diff options
author | Cherry Mui <cherryyz@google.com> | 2021-05-28 21:56:50 -0400 |
---|---|---|
committer | Cherry Mui <cherryyz@google.com> | 2021-06-02 16:52:10 +0000 |
commit | aa9cfdf775692a9fa6cc4ea9768415d73323c0cc (patch) | |
tree | 8eeea1341d640e79634f16cfdc9840b456fd273b /src/cmd/compile/internal/types/type.go | |
parent | 0c123cdf8ba88991e51fdb3523fdc7df03cf3118 (diff) | |
download | go-aa9cfdf775692a9fa6cc4ea9768415d73323c0cc.tar.gz go-aa9cfdf775692a9fa6cc4ea9768415d73323c0cc.zip |
[dev.typeparams] runtime: update ABIInternal assembly with register ABI on ARM64
mcall calls a closure (using ABIInternal) with an argument.
Update it to pass the argument in register.
Panic functions tail-call Go panic functions using ABIInternal.
Update them to pass the arguments in registers.
Race functions are called using ABIInternal from compiler-
instrumented code. Update them to receive the arguments in
registers.
Now all.bash passes with GOEXPERIMENT=regabi on ARM64 (at least on
macOS).
Change-Id: I648f6502c7eeb1422330c6c829181f12e08c7d0e
Reviewed-on: https://go-review.googlesource.com/c/go/+/323937
Trust: Cherry Mui <cherryyz@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Diffstat (limited to 'src/cmd/compile/internal/types/type.go')
0 files changed, 0 insertions, 0 deletions