]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.19: mention riscv64 supported regabi
authorMeng Zhuo <mzh@golangcn.org>
Sat, 28 May 2022 04:39:35 +0000 (12:39 +0800)
committerMeng Zhuo <mzh@golangcn.org>
Wed, 8 Jun 2022 00:55:30 +0000 (00:55 +0000)
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>
doc/go1.19.html

index b9dfa59297bb1f53c59aeee3994473ba5b14d501..d73f635344f77aa3e03b54c9805dd688e1cbe4e0 100644 (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