Skip to content
Snippets Groups Projects
Commit 93e4e26d authored by Xiaolin Zhao's avatar Xiaolin Zhao Committed by abner chenc
Browse files

runtime: fix typos in comments

Change-Id: Id169b68cc93bb6eb4cdca384efaaf971fcfa32b7
Reviewed-on: https://go-review.googlesource.com/c/go/+/666316


Reviewed-by: default avatarabner chenc <chenguoqi@loongson.cn>
Reviewed-by: default avatarJunyang Shao <shaojunyang@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: default avatarMichael Pratt <mpratt@google.com>
parent 489917fc
No related branches found
No related tags found
No related merge requests found
...@@ -179,8 +179,8 @@ func copyARM64(w io.Writer) { ...@@ -179,8 +179,8 @@ func copyARM64(w io.Writer) {
func zeroLOONG64(w io.Writer) { func zeroLOONG64(w io.Writer) {
// R0: always zero // R0: always zero
// R19 (aka REGRT1): ptr to memory to be zeroed // R20: ptr to memory to be zeroed
// On return, R19 points to the last zeroed dword. // On return, R20 points to the last zeroed dword.
fmt.Fprintln(w, "TEXT runtime·duffzero<ABIInternal>(SB), NOSPLIT|NOFRAME, $0-0") fmt.Fprintln(w, "TEXT runtime·duffzero<ABIInternal>(SB), NOSPLIT|NOFRAME, $0-0")
for i := 0; i < 128; i++ { for i := 0; i < 128; i++ {
fmt.Fprintln(w, "\tMOVV\tR0, (R20)") fmt.Fprintln(w, "\tMOVV\tR0, (R20)")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment