Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,068 for spill (0.22 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/cmd/internal/obj/ppc64/obj9.go

    	p.As = obj.ANOP // zero-width place holder
    
    	if q != nil {
    		q.To.SetTarget(p)
    	}
    
    	// Spill the register args that could be clobbered by the
    	// morestack code.
    
    	spill := c.cursym.Func().SpillRegisterArgs(p, c.newprog)
    
    	// MOVD LR, R5
    	p = obj.Appendp(spill, c.newprog)
    	p.As = AMOVD
    	p.From.Type = obj.TYPE_REG
    	p.From.Reg = REG_LR
    	p.To.Type = obj.TYPE_REG
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/loong64/obj.go

    	add = AADDV
    	mov = AMOVV
    	if c.ctxt.Flag_maymorestack != "" {
    		// Save LR and REGCTXT.
    		frameSize := 2 * c.ctxt.Arch.PtrSize
    
    		p = c.ctxt.StartUnsafePoint(p, c.newprog)
    
    		// Spill Arguments. This has to happen before we open
    		// any more frame space.
    		p = c.cursym.Func().SpillRegisterArgs(p, c.newprog)
    
    		// MOV	REGLINK, -8/-16(SP)
    		p = obj.Appendp(p, c.newprog)
    		p.As = mov
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:22:18 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  6. src/runtime/sys_netbsd_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
    - 9.8K bytes
    - Viewed (0)
  7. pkg/kubelet/certificate/bootstrap/bootstrap.go

    	hash := sha512.New512_256()
    
    	// Here we make sure two different inputs can't write the same stream
    	// to the hash. This delimiter is not in the base64.URLEncoding
    	// alphabet so there is no way to have spill over collisions. Without
    	// it 'CN:foo,ORG:bar' hashes to the same value as 'CN:foob,ORG:ar'
    	const delimiter = '|'
    	encode := base64.RawURLEncoding.EncodeToString
    
    	write := func(data []byte) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 27 08:04:25 UTC 2022
    - 14.2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	{name: "ArraySelect", argLength: 1, aux: "Int64"}, // arg0=array, auxint=index. Returns a[i].
    
    	// Spill&restore ops for the register allocator. These are
    	// semantically identical to OpCopy; they do not take/return
    	// stores like regular memory ops do. We can get away without memory
    	// args because we know there is no aliasing of spill slots on the stack.
    	{name: "StoreReg", argLength: 1},
    	{name: "LoadReg", argLength: 1},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssagen/pgen.go

    	for i, n := range fn.Dcl {
    		if n.Op() != ir.ONAME || n.Class != ir.PAUTO && !(n.Class == ir.PPARAMOUT && n.IsOutputParamInRegisters()) {
    			// i.e., stack assign if AUTO, or if PARAMOUT in registers (which has no predefined spill locations)
    			continue
    		}
    		if mls != nil && mls.Subsumed(n) {
    			continue
    		}
    		if !n.Used() {
    			fn.DebugInfo.(*ssa.FuncDebug).OptDcl = fn.Dcl[i:]
    			fn.Dcl = fn.Dcl[:i]
    			break
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/arm64/obj7.go

    	pcdata = c.ctxt.StartUnsafePoint(pcdata, c.newprog)
    
    	if q != nil {
    		q.To.SetTarget(pcdata)
    	}
    	bls.To.SetTarget(pcdata)
    
    	spill := c.cursym.Func().SpillRegisterArgs(pcdata, c.newprog)
    
    	// MOV	LR, R3
    	movlr := obj.Appendp(spill, c.newprog)
    	movlr.As = AMOVD
    	movlr.From.Type = obj.TYPE_REG
    	movlr.From.Reg = REGLINK
    	movlr.To.Type = obj.TYPE_REG
    	movlr.To.Reg = REG_R3
    
    	debug := movlr
    	if false {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 05:46:32 UTC 2023
    - 28.4K bytes
    - Viewed (0)
Back to top