Skip to content

Commit

Permalink
doc/go1.19: mention riscv64 supported regabi
Browse files Browse the repository at this point in the history
Change-Id: I715e53e4baf67f896fa9c240f7668ce11f7b33c3
Reviewed-on: https://go-review.googlesource.com/c/go/+/409195
Reviewed-by: Austin Clements <[email protected]>
Reviewed-by: Russ Cox <[email protected]>
  • Loading branch information
mengzhuo committed Jun 8, 2022
1 parent b72a6a7 commit decdd87
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doc/go1.19.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,9 @@ <h2 id="compiler">Compiler</h2>
(<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
Expand Down

0 comments on commit decdd87

Please sign in to comment.