mirror of https://github.com/golang/go.git
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:
parent
16e7613b2e
commit
62b38000ab
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue