1
0
mirror of https://github.com/golang/go synced 2024-11-26 18:16:48 -07:00

doc/go1.19: mention riscv64 supported regabi

Change-Id: I715e53e4baf67f896fa9c240f7668ce11f7b33c3
Reviewed-on: https://go-review.googlesource.com/c/go/+/409195
Reviewed-by: Austin Clements <austin@google.com>
Reviewed-by: Russ Cox <rsc@golang.org>
This commit is contained in:
Meng Zhuo 2022-05-28 12:39:35 +08:00
parent b72a6a7b86
commit decdd87bea

View File

@ -188,7 +188,9 @@ Do not send CLs removing the interior tags from such phrases.
(<code>GOARCH=amd64</code> and <code>GOARCH=arm64</code> only)
</p>
<p><!-- CL 402374 -->
TODO: <a href="https://go.dev/cl/402374">https://go.dev/cl/402374</a>: enable regabi on riscv64 by default
The <code>riscv64</code> port now supports passing function arguments
and result using registers. Benchmarking shows typical performance
improvements of 10% or more on <code>riscv64</code>.
</p>
<p><!-- CL 391014 -->
The Go compiler now requires the <code>-p=importpath</code> flag to