Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Setg (0.04 sec)

  1. 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)
  2. src/cmd/compile/internal/ssa/_gen/ARM64Ops.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
    		r0         = buildReg("R0")
    		r1         = buildReg("R1")
    		r2         = buildReg("R2")
    		r3         = buildReg("R3")
    	)
    	// Common regInfo
    	var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 58.8K bytes
    - Viewed (0)
  3. src/runtime/asm_amd64.s

    	// thread that comes into Go tries to reuse that space
    	// but uses the same M.
    	XORQ	DI, DI
    	CALL	runtimeĀ·settls(SB)
    #endif
    done:
    
    	// Done!
    	RET
    
    // func setg(gg *g)
    // set g. for use by needm.
    TEXT runtimeĀ·setg(SB), NOSPLIT, $0-8
    	MOVQ	gg+0(FP), BX
    	get_tls(CX)
    	MOVQ	BX, g(CX)
    	RET
    
    // void setg_gcc(G*); set g called from gcc.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  4. src/runtime/mgcmark.go

    // This must be called with preemption enabled.
    func gcAssistAlloc(gp *g) {
    	// Don't assist in non-preemptible contexts. These are
    	// generally fragile and won't allow the assist to block.
    	if getg() == gp.m.g0 {
    		return
    	}
    	if mp := getg().m; mp.locks > 0 || mp.preemptoff != "" {
    		return
    	}
    
    	// This extremely verbose boolean indicates whether we've
    	// entered mark assist from the perspective of the tracer.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  5. src/runtime/mgc.go

    			// mark using checkmark bits, to check that we
    			// didn't forget to mark anything during the
    			// concurrent mark process.
    			startCheckmarks()
    			gcResetMarkState()
    			gcw := &getg().m.p.ptr().gcw
    			gcDrain(gcw, 0)
    			wbBufFlush1(getg().m.p.ptr())
    			gcw.dispose()
    			endCheckmarks()
    		}
    
    		// marking is complete so we can turn the write barrier off
    		setGCPhase(_GCoff)
    		stwSwept = gcSweep(work.mode)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  6. src/runtime/traceback.go

    			return
    		}
    		print("\n")
    		goroutineheader(gp)
    		// Note: gp.m == getg().m occurs when tracebackothers is called
    		// from a signal handler initiated during a systemstack call.
    		// The original G is still in the running state, and we want to
    		// print its stack.
    		if gp.m != getg().m && readgstatus(gp)&^_Gscan == _Grunning {
    			print("\tgoroutine running on other thread; stack unavailable\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  7. src/runtime/mprof.go

    	var stw worldStop
    	if all {
    		stw = stopTheWorld(stwAllGoroutinesStack)
    	}
    
    	n := 0
    	if len(buf) > 0 {
    		gp := getg()
    		sp := getcallersp()
    		pc := getcallerpc()
    		systemstack(func() {
    			g0 := getg()
    			// Force traceback=1 to override GOTRACEBACK setting,
    			// so that Stack's results are consistent.
    			// GOTRACEBACK is only about crash dumps.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  8. src/runtime/malloc.go

    				} else if size&1 == 0 {
    					align = 2
    				} else {
    					align = 1
    				}
    			}
    			return persistentalloc(size, align, &memstats.other_sys)
    		}
    
    		if inittrace.active && inittrace.id == getg().goid {
    			// Init functions are executed sequentially in a single goroutine.
    			inittrace.allocs += 1
    		}
    	}
    
    	// assistG is the G to charge for this allocation, or nil if
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  9. src/runtime/mbitmap.go

    		// another stack. Either way, no need for barriers.
    		// This will also catch if dst is in a freed span,
    		// though that should never have.
    		return
    	}
    	buf := &getg().m.p.ptr().wbBuf
    
    	// Double-check that the bitmaps generated in the two possible paths match.
    	const doubleCheck = false
    	if doubleCheck {
    		doubleCheckTypePointersOfType(s, typ, dst, size)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  10. src/runtime/mgcscavenge.go

    //
    // Must be called from a regular goroutine that can allocate.
    func (s *scavengerState) init() {
    	if s.g != nil {
    		throw("scavenger state is already wired")
    	}
    	lockInit(&s.lock, lockRankScavenge)
    	s.g = getg()
    
    	s.timer = new(timer)
    	f := func(s any, _ uintptr, _ int64) {
    		s.(*scavengerState).wake()
    	}
    	s.timer.init(f, s)
    
    	// input: fraction of CPU time actually used.
    	// setpoint: ideal CPU fraction.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:48:45 UTC 2024
    - 52.3K bytes
    - Viewed (0)
Back to top