Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 359 for clobber (0.35 sec)

  1. src/runtime/sys_linux_arm.s

    	MOVM.DB.W [R4-R11], (R13)
    	SUB	$16, R13
    
    	// this might be called in external code context,
    	// where g is not set.
    	// first save R0, because runtime·load_g will clobber it
    	MOVW	R0, 4(R13)
    	MOVB	runtime·iscgo(SB), R0
    	CMP 	$0, R0
    	BL.NE	runtime·load_g(SB)
    
    	MOVW	R1, 8(R13)
    	MOVW	R2, 12(R13)
    	MOVW  	$runtime·sigtrampgo(SB), R11
    	BL	(R11)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 24 18:53:44 UTC 2023
    - 13.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewrite.go

    	return nil // too far away
    }
    
    // clobber invalidates values. Returns true.
    // clobber is used by rewrite rules to:
    //
    //	A) make sure the values are really dead and never used again.
    //	B) decrement use counts of the values' args.
    func clobber(vv ...*Value) bool {
    	for _, v := range vv {
    		v.reset(OpInvalid)
    		// Note: leave v.Block intact.  The Block field is used after clobber.
    	}
    	return true
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewritegeneric.go

    			break
    		}
    		v.reset(OpMove)
    		v.AuxInt = int64ToAuxInt(n)
    		v.Aux = typeToAux(t1)
    		v.AddArg3(dst1, src1, mem)
    		return true
    	}
    	// match: (Move {t} [n] dst1 src1 move:(Move {t} [n] dst2 _ mem))
    	// cond: move.Uses == 1 && isSamePtr(dst1, dst2) && disjoint(src1, n, dst2, n) && clobber(move)
    	// result: (Move {t} [n] dst1 src1 mem)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:24:47 UTC 2024
    - 812.2K bytes
    - Viewed (0)
  4. test/live.go

    	f43([]*int{&p, &r, &q})
    	f43([]*int{&q, &p, &r})
    }
    
    //go:noescape
    func f43(a []*int)
    
    // Assigning to a sub-element that makes up an entire local variable
    // should clobber that variable.
    func f44(f func() [2]*int) interface{} { // ERROR "live at entry to f44: f"
    	type T struct {
    		s [1][2]*int
    	}
    	ret := T{} // ERROR "stack object ret T"
    	ret.s[0] = f()
    	return ret
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 18K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewriteRISCV64.go

    	// cond: x.Uses == 1 && clobber(x)
    	// result: @x.Block (MOVBUload <t> [off] {sym} ptr mem)
    	for {
    		t := v.Type
    		x := v_0
    		if x.Op != OpRISCV64MOVBload {
    			break
    		}
    		off := auxIntToInt32(x.AuxInt)
    		sym := auxToSym(x.Aux)
    		mem := x.Args[1]
    		ptr := x.Args[0]
    		if !(x.Uses == 1 && clobber(x)) {
    			break
    		}
    		b = x.Block
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 205.1K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/mips/obj0.go

    				// during the execution of the function prologue, the traceback
    				// code will not see a half-updated stack frame.
    				// This sequence is not async preemptible, as if we open a frame
    				// at the current SP, it will clobber the saved LR.
    				q = c.ctxt.StartUnsafePoint(q, c.newprog)
    
    				q = obj.Appendp(q, newprog)
    				q.As = mov
    				q.Pos = p.Pos
    				q.From.Type = obj.TYPE_REG
    				q.From.Reg = REGLINK
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 19:28:53 UTC 2023
    - 30.6K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/x86/obj6.go

    	} else {
    		lea = ALEAL
    		mov = AMOVL
    		reg = REG_CX
    		if p.As == ALEAL && p.To.Reg != p.From.Reg && p.To.Reg != p.From.Index {
    			// Special case: clobber the destination register with
    			// the PC so we don't have to clobber CX.
    			// The SSA backend depends on CX not being clobbered across LEAL.
    			// See cmd/compile/internal/ssa/gen/386.rules (search for Flag_shared).
    			reg = p.To.Reg
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:36:45 UTC 2023
    - 40.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/_gen/S390XOps.go

    		// It saves all GP registers if necessary,
    		// but clobbers R14 (LR) because it's a call,
    		// and also clobbers R1 as the PLT stub does.
    		// Returns a pointer to a write barrier buffer in R9.
    		{name: "LoweredWB", argLength: 1, reg: regInfo{clobbers: (callerSave &^ gpg) | buildReg("R14") | r1, outputs: []regMask{r9}}, clobberFlags: true, aux: "Int64"},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 52.5K bytes
    - Viewed (0)
  9. src/runtime/stack.go

    	if n&(n-1) != 0 {
    		throw("stack not a power of 2")
    	}
    	if stk.lo+n < stk.hi {
    		throw("bad stack size")
    	}
    	if stackDebug >= 1 {
    		println("stackfree", v, n)
    		memclrNoHeapPointers(v, n) // for testing, clobber stack data
    	}
    	if debug.efence != 0 || stackFromSystem != 0 {
    		if debug.efence != 0 || stackFaultOnFree != 0 {
    			sysFault(v, n)
    		} else {
    			sysFree(v, n, &memstats.stacks_sys)
    		}
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/_gen/RISCV64Ops.go

    		fp2gp   = regInfo{inputs: []regMask{fpMask, fpMask}, outputs: []regMask{gpMask}}
    
    		call        = regInfo{clobbers: callerSave}
    		callClosure = regInfo{inputs: []regMask{gpspMask, regCtxt, 0}, clobbers: callerSave}
    		callInter   = regInfo{inputs: []regMask{gpMask}, clobbers: callerSave}
    	)
    
    	RISCV64ops := []opData{
    		{name: "ADD", argLength: 2, reg: gp21, asm: "ADD", commutative: true}, // arg0 + arg1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 30.7K bytes
    - Viewed (0)
Back to top