- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 59 for Setg (0.84 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/cmd/vendor/golang.org/x/arch/x86/x86asm/intel.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 29 22:23:32 UTC 2017 - 11.7K 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/runtime/stubs.go
//go:linkname add //go:nosplit func add(p unsafe.Pointer, x uintptr) unsafe.Pointer { return unsafe.Pointer(uintptr(p) + x) } // getg returns the pointer to the current g. // The compiler rewrites calls to this function into instructions // that fetch the g directly (from TLS or from the dedicated register). func getg() *g // mcall switches from the g to the g0 stack and invokes fn(g), // where g is the goroutine that made the call.
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/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)