Skip to content

Commit 93e4e26

Browse files
sophie-zhaoabner-chenc
authored andcommitted
runtime: fix typos in comments
Change-Id: Id169b68cc93bb6eb4cdca384efaaf971fcfa32b7 Reviewed-on: https://go-review.googlesource.com/c/go/+/666316 Reviewed-by: abner chenc <chenguoqi@loongson.cn> Reviewed-by: Junyang Shao <shaojunyang@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Michael Pratt <mpratt@google.com>
1 parent 489917f commit 93e4e26

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/runtime/mkduff.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,8 @@ func copyARM64(w io.Writer) {
179179

180180
func zeroLOONG64(w io.Writer) {
181181
// R0: always zero
182-
// R19 (aka REGRT1): ptr to memory to be zeroed
183-
// On return, R19 points to the last zeroed dword.
182+
// R20: ptr to memory to be zeroed
183+
// On return, R20 points to the last zeroed dword.
184184
fmt.Fprintln(w, "TEXT runtime·duffzero<ABIInternal>(SB), NOSPLIT|NOFRAME, $0-0")
185185
for i := 0; i < 128; i++ {
186186
fmt.Fprintln(w, "\tMOVV\tR0, (R20)")

0 commit comments

Comments
 (0)