summaryrefslogtreecommitdiffstats
path: root/contrib/go/_std_1.25/src/syscall/asm_linux_mips64x.s
diff options
context:
space:
mode:
authorYDBot <[email protected]>2026-06-10 06:27:27 +0000
committerYDBot <[email protected]>2026-06-10 06:27:27 +0000
commiteb8c7d3ee0c13034ecf5d8d35c24cefc40f0bb3f (patch)
treea1eba7fec49a258bb24bfa77808233496ac0047f /contrib/go/_std_1.25/src/syscall/asm_linux_mips64x.s
parentc4011885693f041c96b035f368aae8a1baac8885 (diff)
parent72cfbf8958fa6fa5227e9ad6466abfc635fdeb15 (diff)
Merge pull request #43056 from ydb-platform/merge-rightlib-260610-0127HEADmain
Diffstat (limited to 'contrib/go/_std_1.25/src/syscall/asm_linux_mips64x.s')
-rw-r--r--contrib/go/_std_1.25/src/syscall/asm_linux_mips64x.s45
1 files changed, 0 insertions, 45 deletions
diff --git a/contrib/go/_std_1.25/src/syscall/asm_linux_mips64x.s b/contrib/go/_std_1.25/src/syscall/asm_linux_mips64x.s
deleted file mode 100644
index 1784e3a57a4..00000000000
--- a/contrib/go/_std_1.25/src/syscall/asm_linux_mips64x.s
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright 2014 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-//go:build linux && (mips64 || mips64le)
-
-#include "textflag.h"
-
-//
-// System calls for mips64, Linux
-//
-
-// func rawVforkSyscall(trap, a1, a2, a3 uintptr) (r1, err uintptr)
-TEXT ·rawVforkSyscall(SB),NOSPLIT|NOFRAME,$0-48
- MOVV a1+8(FP), R4
- MOVV a2+16(FP), R5
- MOVV a3+24(FP), R6
- MOVV R0, R7
- MOVV R0, R8
- MOVV R0, R9
- MOVV trap+0(FP), R2 // syscall entry
- SYSCALL
- BEQ R7, ok
- MOVV $-1, R1
- MOVV R1, r1+32(FP) // r1
- MOVV R2, err+40(FP) // errno
- RET
-ok:
- MOVV R2, r1+32(FP) // r1
- MOVV R0, err+40(FP) // errno
- RET
-
-TEXT ·rawSyscallNoError(SB),NOSPLIT,$0-48
- MOVV a1+8(FP), R4
- MOVV a2+16(FP), R5
- MOVV a3+24(FP), R6
- MOVV R0, R7
- MOVV R0, R8
- MOVV R0, R9
- MOVV trap+0(FP), R2 // syscall entry
- MOVV R0, R3 // reset R3 to zero as 1-ret SYSCALL keeps it
- SYSCALL
- MOVV R2, r1+32(FP) // r1
- MOVV R3, r2+40(FP) // r2
- RET