Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for OpConvert (0.23 sec)

  1. src/cmd/compile/internal/ssa/lower.go

    				continue // lowered
    			}
    			switch v.Op {
    			case OpSP, OpSPanchored, OpSB, OpInitMem, OpArg, OpArgIntReg, OpArgFloatReg, OpPhi, OpVarDef, OpVarLive, OpKeepAlive, OpSelect0, OpSelect1, OpSelectN, OpConvert, OpInlMark, OpWBend:
    				continue // ok not to lower
    			case OpMakeResult:
    				if b.Controls[0] == v {
    					continue
    				}
    			case OpGetG:
    				if f.Config.hasGReg {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 16 00:16:13 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. src/debug/dwarf/const.go

    	opAddrx           = 0xA1
    	opConstx          = 0xA2
    	opEntryValue      = 0xA3
    	opConstType       = 0xA4
    	opRegvalType      = 0xA5
    	opDerefType       = 0xA6
    	opXderefType      = 0xA7
    	opConvert         = 0xA8
    	opReinterpret     = 0xA9
    	/* 0xE0-0xFF reserved for user-specific */
    )
    
    // Basic type encodings -- the value for AttrEncoding in a TagBaseType Entry.
    const (
    	encAddress      = 0x01
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/WasmOps.go

    		// gets correctly ordered with respect to GC safepoints.
    		// arg0=ptr/int arg1=mem, output=int/ptr
    		//
    		// TODO(neelance): LoweredConvert should not be necessary any more, since OpConvert does not need to be lowered any more (CL 108496).
    		{name: "LoweredConvert", argLength: 2, reg: regInfo{inputs: []regMask{gp}, outputs: []regMask{gp}}},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 17.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	// gets correctly ordered with respect to GC safepoints.
    	// It gets compiled to nothing, so its result must in the same
    	// register as its argument. regalloc knows it can use any
    	// allocatable integer register for OpConvert.
    	// arg0=ptr/int arg1=mem, output=int/ptr
    	{name: "Convert", argLength: 2, zeroWidth: true, resultInArg0: true},
    
    	// constants. Constant values are stored in the aux or
    	// auxint fields.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/regalloc.go

    		m = s.f.Config.gpRegMask
    	}
    	return m & s.allocatable
    }
    
    // regspec returns the regInfo for operation op.
    func (s *regAllocState) regspec(v *Value) regInfo {
    	op := v.Op
    	if op == OpConvert {
    		// OpConvert is a generic op, so it doesn't have a
    		// register set in the static table. It can use any
    		// allocatable integer register.
    		m := s.allocatable & s.f.Config.gpRegMask
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:49:56 UTC 2023
    - 87.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/rewritegeneric.go

    	case OpConstInterface:
    		return rewriteValuegeneric_OpConstInterface(v)
    	case OpConstSlice:
    		return rewriteValuegeneric_OpConstSlice(v)
    	case OpConstString:
    		return rewriteValuegeneric_OpConstString(v)
    	case OpConvert:
    		return rewriteValuegeneric_OpConvert(v)
    	case OpCtz16:
    		return rewriteValuegeneric_OpCtz16(v)
    	case OpCtz32:
    		return rewriteValuegeneric_OpCtz32(v)
    	case OpCtz64:
    		return rewriteValuegeneric_OpCtz64(v)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:24:47 UTC 2024
    - 812.2K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssagen/ssa.go

    				// nothing to do; already used by liveness
    			case ssa.OpPhi:
    				CheckLoweredPhi(v)
    			case ssa.OpConvert:
    				// nothing to do; no-op conversion for liveness
    				if v.Args[0].Reg() != v.Reg() {
    					v.Fatalf("OpConvert should be a no-op: %s; %s", v.Args[0].LongString(), v.LongString())
    				}
    			case ssa.OpInlMark:
    				p := Arch.Ginsnop(s.pp)
    				if inlMarks == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/rewriteWasm.go

    		return true
    	case OpConst8:
    		return rewriteValueWasm_OpConst8(v)
    	case OpConstBool:
    		return rewriteValueWasm_OpConstBool(v)
    	case OpConstNil:
    		return rewriteValueWasm_OpConstNil(v)
    	case OpConvert:
    		v.Op = OpWasmLoweredConvert
    		return true
    	case OpCopysign:
    		v.Op = OpWasmF64Copysign
    		return true
    	case OpCtz16:
    		return rewriteValueWasm_OpCtz16(v)
    	case OpCtz16NonZero:
    		v.Op = OpWasmI64Ctz
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 03:56:57 UTC 2023
    - 108.6K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/opGen.go

    	OpSqrt32
    	OpFloor
    	OpCeil
    	OpTrunc
    	OpRound
    	OpRoundToEven
    	OpAbs
    	OpCopysign
    	OpMin64F
    	OpMin32F
    	OpMax64F
    	OpMax32F
    	OpFMA
    	OpPhi
    	OpCopy
    	OpConvert
    	OpConstBool
    	OpConstString
    	OpConstNil
    	OpConst8
    	OpConst16
    	OpConst32
    	OpConst64
    	OpConst32F
    	OpConst64F
    	OpConstInterface
    	OpConstSlice
    	OpInitMem
    	OpArg
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 1M bytes
    - Viewed (0)
Back to top