aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMeng Zhuo <mzh@golangcn.org>2022-05-28 12:39:35 +0800
committerMeng Zhuo <mzh@golangcn.org>2022-06-08 00:55:30 +0000
commitdecdd87bea5ab380b6c2a656735db9b2eb08a202 (patch)
tree29097e1bcb4145ad8823290a9ac3fdaf4f157975
parentb72a6a7b868deb5b671020c08fbf8d61ad8803d4 (diff)
downloadgo-decdd87bea5ab380b6c2a656735db9b2eb08a202.tar.gz
go-decdd87bea5ab380b6c2a656735db9b2eb08a202.zip
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>
-rw-r--r--doc/go1.19.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/go1.19.html b/doc/go1.19.html
index b9dfa59297..d73f635344 100644
--- a/doc/go1.19.html
+++ b/doc/go1.19.html
@@ -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