From: Xiaolin Zhao Date: Thu, 17 Apr 2025 12:21:29 +0000 (+0800) Subject: runtime: fix typos in comments X-Git-Tag: go1.25rc1~423 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=93e4e26d5b909c3dbeeb638534461155f06ecf5c;p=gostls13.git runtime: fix typos in comments Change-Id: Id169b68cc93bb6eb4cdca384efaaf971fcfa32b7 Reviewed-on: https://go-review.googlesource.com/c/go/+/666316 Reviewed-by: abner chenc Reviewed-by: Junyang Shao LUCI-TryBot-Result: Go LUCI Reviewed-by: Michael Pratt --- diff --git a/src/runtime/mkduff.go b/src/runtime/mkduff.go index b7f07b5087..86521d6d04 100644 --- a/src/runtime/mkduff.go +++ b/src/runtime/mkduff.go @@ -179,8 +179,8 @@ func copyARM64(w io.Writer) { func zeroLOONG64(w io.Writer) { // R0: always zero - // R19 (aka REGRT1): ptr to memory to be zeroed - // On return, R19 points to the last zeroed dword. + // R20: ptr to memory to be zeroed + // On return, R20 points to the last zeroed dword. fmt.Fprintln(w, "TEXT runtime·duffzero(SB), NOSPLIT|NOFRAME, $0-0") for i := 0; i < 128; i++ { fmt.Fprintln(w, "\tMOVV\tR0, (R20)")