runtime/internal/syscall: use correct result names for loong64

Fixes "GOARCH=loong64 go vet runtime/internal/syscall"

Change-Id: I5879eec3ff07b0c69a5a8ac8e854733261e98fbf
Reviewed-on: https://go-review.googlesource.com/c/go/+/408695
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: xiaodong liu <teaofmoli@gmail.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
Ian Lance Taylor 2022-05-25 15:41:59 -07:00 committed by Gopher Robot
parent 16e7613b2e
commit 62b38000ab
1 changed files with 6 additions and 6 deletions

View File

@ -17,13 +17,13 @@ TEXT ·Syscall6(SB),NOSPLIT,$0-80
MOVW $-4096, R12
BGEU R12, R4, ok
MOVV $-1, R12
MOVV R12, r1+56(FP) // r1
MOVV R0, r2+64(FP) // r2
MOVV R12, r1+56(FP)
MOVV R0, r2+64(FP)
SUBVU R4, R0, R4
MOVV R4, err+72(FP) // errno
MOVV R4, errno+72(FP)
RET
ok:
MOVV R4, r1+56(FP) // r1
MOVV R5, r2+64(FP) // r2
MOVV R0, err+72(FP) // errno
MOVV R4, r1+56(FP)
MOVV R5, r2+64(FP)
MOVV R0, errno+72(FP)
RET