]> Cypherpunks repositories - gostls13.git/commitdiff
runtime/internal/syscall: use correct result names for loong64
authorIan Lance Taylor <iant@golang.org>
Wed, 25 May 2022 22:41:59 +0000 (15:41 -0700)
committerGopher Robot <gobot@golang.org>
Thu, 26 May 2022 02:23:09 +0000 (02:23 +0000)
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>

src/runtime/internal/syscall/asm_linux_loong64.s

index 377a6b88c6225e5da578da4859b71d9850ab99cd..ac500fb3b1195f67610b0b2730d8e48d33e0e4cb 100644 (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