Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,064 for spill (0.08 sec)

  1. src/reflect/asm_ppc64x.s

    	MOVD	R3, FIXED_FRAME+16(R1)	// addr retvalid (arg2)
    	ADD     $LOCAL_REGARGS, R1, R3
    	MOVD	R3, FIXED_FRAME+24(R1)	// abiregargs (arg3)
    	BL	·callReflect(SB)
    	ADD	$LOCAL_REGARGS, R1, R20	// set address of spill area
    	CALL	runtime·unspillArgs(SB)
    	RET
    
    // methodValueCall is the code half of the function returned by makeMethodValue.
    // See the comment on the declaration of methodValueCall in makefunc.go
    // for more details.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 06 10:24:44 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  2. src/runtime/preempt.go

    		// This may be a problem if we start using more
    		// registers. In that case, we should store registers
    		// in a context object. If we pre-allocate one per P,
    		// asyncPreempt can spill just a few registers to the
    		// stack, then grab its context object and spill into
    		// it. When it enters the runtime, it would allocate a
    		// new context for the P.
    		print("runtime: asyncPreemptStack=", asyncPreemptStack, "\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  3. src/runtime/sys_freebsd_amd64.s

    	// Transition from C ABI to Go ABI.
    	PUSH_REGS_HOST_TO_ABI0()
    
    	// Set up ABIInternal environment: g in R14, cleared X15.
    	get_tls(R12)
    	MOVQ	g(R12), R14
    	PXOR	X15, X15
    
    	// Reserve space for spill slots.
    	NOP	SP		// disable vet stack checking
    	ADJSP   $24
    
    	// Call into the Go signal handler
    	MOVQ	DI, AX	// sig
    	MOVQ	SI, BX	// info
    	MOVQ	DX, CX	// ctx
    	CALL	·sigtrampgo<ABIInternal>(SB)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  4. src/runtime/histogram.go

    	//    │ └---- Next 2 bits -> sub-bucket 0
    	//    └------- Bit 10 set -> bucket 2
    	//
    	// Following this pattern, bucket 38 will have the bit 46 set. We don't
    	// have any buckets for higher values, so we spill the rest into an overflow
    	// bucket containing values of 2^47-1 nanoseconds or approx. 1 day or more.
    	// This range is more than enough to handle durations produced by the runtime.
    	timeHistMinBucketBits = 9
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. src/runtime/mfinal.go

    			for i := fb.cnt; i > 0; i-- {
    				f := &fb.fin[i-1]
    
    				var regs abi.RegArgs
    				// The args may be passed in registers or on stack. Even for
    				// the register case, we still need the spill slots.
    				// TODO: revisit if we remove spill slots.
    				//
    				// Unfortunately because we can have an arbitrary
    				// amount of returns and it would be complex to try and
    				// figure out how many of those can get passed in registers,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 01:56:56 UTC 2024
    - 19K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/value.go

    func AutoVar(v *Value) (*ir.Name, int64) {
    	if loc, ok := v.Block.Func.RegAlloc[v.ID].(LocalSlot); ok {
    		if v.Type.Size() > loc.Type.Size() {
    			v.Fatalf("spill/restore type %s doesn't fit in slot type %s", v.Type, loc.Type)
    		}
    		return loc.N, loc.Off
    	}
    	// Assume it is a register, return its spill slot, which needs to be live
    	nameOff := v.Aux.(*AuxNameOffset)
    	return nameOff.Name, nameOff.Offset
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:40:22 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  7. src/runtime/sys_linux_amd64.s

    	// Transition from C ABI to Go ABI.
    	PUSH_REGS_HOST_TO_ABI0()
    
    	// Set up ABIInternal environment: g in R14, cleared X15.
    	get_tls(R12)
    	MOVQ	g(R12), R14
    	PXOR	X15, X15
    
    	// Reserve space for spill slots.
    	NOP	SP		// disable vet stack checking
    	ADJSP   $24
    
    	// Call into the Go signal handler
    	MOVQ	DI, AX	// sig
    	MOVQ	SI, BX	// info
    	MOVQ	DX, CX	// ctx
    	CALL	·sigtrampgo<ABIInternal>(SB)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 24 18:53:44 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  8. src/sync/pool_test.go

    	}
    	if g := p.Get(); g != "b" {
    		t.Fatalf("got %#v; want b", g)
    	}
    	if g := p.Get(); g != nil {
    		t.Fatalf("got %#v; want nil", g)
    	}
    	Runtime_procUnpin()
    
    	// Put in a large number of objects so they spill into
    	// stealable space.
    	for i := 0; i < 100; i++ {
    		p.Put("c")
    	}
    	// After one GC, the victim cache should keep them alive.
    	runtime.GC()
    	if g := p.Get(); g != "c" {
    		t.Fatalf("got %#v; want c after GC", g)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/x86/obj6.go

    	// we are still in function prologue. We need to fix the
    	// SP data and PCDATA.
    	spfix := obj.Appendp(last, newprog)
    	spfix.As = obj.ANOP
    	spfix.Spadj = -framesize
    
    	pcdata := ctxt.EmitEntryStackMap(cursym, spfix, newprog)
    	spill := ctxt.StartUnsafePoint(pcdata, newprog)
    	pcdata = cursym.Func().SpillRegisterArgs(spill, newprog)
    
    	call := obj.Appendp(pcdata, newprog)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:36:45 UTC 2023
    - 40.9K bytes
    - Viewed (0)
  10. src/runtime/sys_windows_amd64.s

    	// if called from a non-go thread.
    	XORPS	X15, X15
    	XORQ	R14, R14
    
    	get_tls(AX)
    	CMPQ	AX, $0
    	JE	2(PC)
    	// Exception from Go thread, set R14.
    	MOVQ	g(AX), R14
    
    	// Reserve space for spill slots.
    	ADJSP	$16
    	MOVQ	CX, AX
    	MOVQ	DX, BX
    	// Calling ABIInternal because TLS might be nil.
    	CALL	runtime·sigtrampgo<ABIInternal>(SB)
    	// Return value is already stored in AX.
    
    	ADJSP	$-16
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 19 07:24:08 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top