From decdd87bea5ab380b6c2a656735db9b2eb08a202 Mon Sep 17 00:00:00 2001
From: Meng Zhuo
Date: Sat, 28 May 2022 12:39:35 +0800
Subject: [PATCH] doc/go1.19: mention riscv64 supported regabi
Change-Id: I715e53e4baf67f896fa9c240f7668ce11f7b33c3
Reviewed-on: https://go-review.googlesource.com/c/go/+/409195
Reviewed-by: Austin Clements
Reviewed-by: Russ Cox
---
doc/go1.19.html | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
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.
(GOARCH=amd64
and GOARCH=arm64
only)
- TODO: https://go.dev/cl/402374: enable regabi on riscv64 by default
+ The riscv64
port now supports passing function arguments
+ and result using registers. Benchmarking shows typical performance
+ improvements of 10% or more on riscv64
.
The Go compiler now requires the -p=importpath
flag to