- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for SETG (0.29 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/compile/internal/ssa/_gen/AMD64.rules
((SETNE|SETL|SETG|SETB|SETA) (FlagEQ)) => (MOVLconst [0]) ((SETNE|SETL|SETLE|SETB|SETBE) (FlagLT_ULT)) => (MOVLconst [1]) ((SETEQ|SETG|SETGE|SETA|SETAE) (FlagLT_ULT)) => (MOVLconst [0]) ((SETNE|SETL|SETLE|SETA|SETAE) (FlagLT_UGT)) => (MOVLconst [1]) ((SETEQ|SETG|SETGE|SETB|SETBE) (FlagLT_UGT)) => (MOVLconst [0]) ((SETNE|SETG|SETGE|SETB|SETBE) (FlagGT_ULT)) => (MOVLconst [1])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 12 19:38:41 UTC 2024 - 93.9K 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
// // 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/runtime/asm_ppc64x.s
MOVD 8(R12), R2 MOVD (R12), R12 #endif MOVD R12, CTR // r12 = "global function entry point" MOVD R13, R5 // arg 2: TLS base pointer MOVD $setg_gcc<>(SB), R4 // arg 1: setg MOVD g, R3 // arg 0: G // C functions expect 32 (48 for AIX) bytes of space on caller // stack frame and a 16-byte aligned R1 MOVD R1, R14 // save current stack SUB $cgoCalleeStackSize, R1 // reserve the callee area
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 18:17:17 UTC 2024 - 45.4K bytes - Viewed (0) -
src/runtime/asm_arm64.s
MOVD R0, R3 // arg 3: TLS base pointer MOVD $runtime·tls_g(SB), R2 // arg 2: &tls_g #else MOVD $0, R2 // arg 2: not used when using platform's TLS #endif MOVD $setg_gcc<>(SB), R1 // arg 1: setg MOVD g, R0 // arg 0: G SUB $16, RSP // reserve 16 bytes for sp-8 where fp may be saved. BL (R12) ADD $16, RSP nocgo: BL runtime·save_g(SB) // update stackguard after _cgo_init
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 11 20:38:24 UTC 2024 - 43.4K bytes - Viewed (0) -
src/runtime/proc.go
// Store the original signal mask for use by minit. mp.sigmask = sigmask // Install TLS on some platforms (previously setg // would do this if necessary). osSetupTLS(mp) // Install g (= m->g0) and set the stack bounds // to match the current stack. setg(mp.g0) sp := getcallersp() callbackUpdateSystemStack(mp, sp, signal) // Should mark we are already in Go now.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 207.5K bytes - Viewed (0)