- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for SETG (0.12 sec)
-
src/runtime/asm_arm.s
MOVW (R6), R6 CMP $0, R6 B.NE done dropm: MOVW $runtime·dropm(SB), R0 BL (R0) done: // Done! RET // void setg(G*); set g. for use by needm. TEXT runtime·setg(SB),NOSPLIT|NOFRAME,$0-4 MOVW gg+0(FP), R0 B setg<>(SB) TEXT setg<>(SB),NOSPLIT|NOFRAME,$0-0 MOVW R0, g // Save g to thread-local storage. #ifdef GOOS_windows B runtime·save_g(SB) #else
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 23 21:00:52 UTC 2024 - 32.1K bytes - Viewed (0) -
src/runtime/signal_unix.go
// it may hit stack split that is not expected here. if gp != nil { setg(nil) } badsignal(uintptr(sig), c) // Restore g if gp != nil { setg(gp) } return } setg(gp.m.gsignal) // If some non-Go code called sigaltstack, adjust. var gsignalStack gsignalStack
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 16:04:54 UTC 2024 - 45K bytes - Viewed (0) -
src/runtime/asm_mips64x.s
// if there is a _cgo_init, call it using the gcc ABI. MOVV _cgo_init(SB), R25 BEQ R25, nocgo MOVV R0, R7 // arg 3: not used MOVV R0, R6 // arg 2: not used MOVV $setg_gcc<>(SB), R5 // arg 1: setg MOVV g, R4 // arg 0: G JAL (R25) nocgo: // update stackguard after _cgo_init MOVV (g_stack+stack_lo)(g), R1 ADDV $const_stackGuard, R1 MOVV R1, g_stackguard0(g) MOVV R1, g_stackguard1(g)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 06 19:45:59 UTC 2023 - 24.3K bytes - Viewed (0) -
src/runtime/asm_riscv64.s
// if there is a _cgo_init, call it using the gcc ABI. MOV _cgo_init(SB), T0 BEQ T0, ZERO, nocgo MOV ZERO, A3 // arg 3: not used MOV ZERO, A2 // arg 2: not used MOV $setg_gcc<>(SB), A1 // arg 1: setg MOV g, A0 // arg 0: G JALR RA, T0 nocgo: // update stackguard after _cgo_init MOV (g_stack+stack_lo)(g), T0 ADD $const_stackGuard, T0 MOV T0, g_stackguard0(g) MOV T0, g_stackguard1(g)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 13:57:06 UTC 2023 - 27K bytes - Viewed (0) -
src/runtime/asm_s390x.s
CMPBEQ R11, $0, nocgo MOVW AR0, R4 // (AR0 << 32 | AR1) is the TLS base pointer; MOVD is translated to EAR SLD $32, R4, R4 MOVW AR1, R4 // arg 2: TLS base pointer MOVD $setg_gcc<>(SB), R3 // arg 1: setg MOVD g, R2 // arg 0: G // C functions expect 160 bytes of space on caller stack frame // and an 8-byte aligned stack pointer MOVD R15, R9 // save current stack (R9 is preserved in the Linux ABI)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 25 09:18:28 UTC 2024 - 28.1K bytes - Viewed (0) -
src/runtime/asm_loong64.s
// if there is a _cgo_init, call it using the gcc ABI. MOVV _cgo_init(SB), R25 BEQ R25, nocgo MOVV R0, R7 // arg 3: not used MOVV R0, R6 // arg 2: not used MOVV $setg_gcc<>(SB), R5 // arg 1: setg MOVV g, R4 // arg 0: G JAL (R25) nocgo: // update stackguard after _cgo_init MOVV (g_stack+stack_lo)(g), R19 ADDV $const_stackGuard, R19 MOVV R19, g_stackguard0(g) MOVV R19, g_stackguard1(g)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 15:04:25 UTC 2024 - 26.5K bytes - Viewed (0) -
src/runtime/asm_mipsx.s
// if there is a _cgo_init, call it using the gcc ABI. MOVW _cgo_init(SB), R25 BEQ R25, nocgo ADDU $-16, R29 MOVW R0, R7 // arg 3: not used MOVW R0, R6 // arg 2: not used MOVW $setg_gcc<>(SB), R5 // arg 1: setg MOVW g, R4 // arg 0: G JAL (R25) ADDU $16, R29 nocgo: // update stackguard after _cgo_init MOVW (g_stack+stack_lo)(g), R1 ADD $const_stackGuard, R1 MOVW R1, g_stackguard0(g)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 06 11:46:29 UTC 2024 - 26.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/arch/x86/x86asm/gnu.go
break SuffixLoop } } } if needSuffix { switch inst.Op { case CMPXCHG8B, FLDCW, FNSTCW, FNSTSW, LDMXCSR, LLDT, LMSW, LTR, PCLMULQDQ, SETA, SETAE, SETB, SETBE, SETE, SETG, SETGE, SETL, SETLE, SETNE, SETNO, SETNP, SETNS, SETO, SETP, SETS, SLDT, SMSW, STMXCSR, STR, VERR, VERW: // For various reasons, libopcodes emits no suffix for these instructions. case CRC32:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 21.4K bytes - Viewed (0) -
src/runtime/stubs.go
// // When fn is nil (frame is saved g), call dropm instead, // this is used when the C thread is exiting. func cgocallback(fn, frame, ctxt uintptr) func gogo(buf *gobuf) func asminit() func setg(gg *g) func breakpoint() // reflectcall calls fn with arguments described by stackArgs, stackArgsSize, // frameSize, and regArgs. // // Arguments passed on the stack and space for return values passed on the stack
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 20.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/LOONG64Ops.go
gpspsbg = gpspg | buildReg("SB") fp = buildReg("F0 F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 F13 F14 F15 F16 F17 F18 F19 F20 F21 F22 F23 F24 F25 F26 F27 F28 F29 F30 F31") callerSave = gp | fp | buildReg("g") // runtime.setg (and anything calling it) may clobber g r1 = buildReg("R20") r2 = buildReg("R21") r3 = buildReg("R23") r4 = buildReg("R24") ) // Common regInfo var (
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 19:04:19 UTC 2023 - 25.2K bytes - Viewed (0)