Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Setg (0.06 sec)

  1. src/runtime/proc.go

    func dropm() {
    	// Clear m and g, and return m to the extra list.
    	// After the call to setg we can only call nosplit functions
    	// with no pointer manipulation.
    	mp := getg().m
    
    	// Emit a trace event for this syscall -> dead transition.
    	//
    	// N.B. the tracer can run on a bare M just fine, we just have
    	// to make sure to do this before setg(nil) and unminit.
    	var trace traceLocker
    	if !mp.isExtraInSig {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/AMD64Ops.go

    		x15        = buildReg("X15")
    		gpsp       = gp | buildReg("SP")
    		gpspsb     = gpsp | buildReg("SB")
    		gpspsbg    = gpspsb | g
    		callerSave = gp | fp | g // runtime.setg (and anything calling it) may clobber g
    	)
    	// Common slices of register masks
    	var (
    		gponly = []regMask{gp}
    		fponly = []regMask{fp}
    	)
    
    	// Common regInfo
    	var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 04 16:40:24 UTC 2023
    - 98K bytes
    - Viewed (1)
  3. src/cmd/compile/internal/ssa/_gen/generic.rules

        (Const64 <typ.Int> [0])
        (Const64 <typ.Int> [0]))
    
    // interface ops
    (ConstInterface) =>
      (IMake
        (ConstNil <typ.Uintptr>)
        (ConstNil <typ.BytePtr>))
    
    (NilCheck ptr:(GetG mem) mem) => ptr
    
    (If (Not cond) yes no) => (If cond no yes)
    (If (ConstBool [c]) yes no) && c => (First yes no)
    (If (ConstBool [c]) yes no) && !c => (First no yes)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
Back to top