Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for OpConst8 (0.12 sec)

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

    				case 1:
    					min = int64(int8(w.AuxInt) - int8(delta))
    					max = int64(int8(^uint8(0)>>1) - int8(delta))
    
    					vmin = parent.NewValue0I(parent.Pos, OpConst8, parent.Func.Config.Types.Int8, min)
    					vmax = parent.NewValue0I(parent.Pos, OpConst8, parent.Func.Config.Types.Int8, max)
    
    				default:
    					panic("unimplemented")
    				}
    
    				if min < max {
    					// Record that x > min and max >= x
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:21 UTC 2024
    - 48.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewritedec64.go

    		v2.AddArg2(v3, s)
    		v4 := b.NewValue0(v.Pos, OpRsh32Ux8, typ.UInt32)
    		v5 := b.NewValue0(v.Pos, OpInt64Lo, typ.UInt32)
    		v5.AddArg(x)
    		v6 := b.NewValue0(v.Pos, OpSub8, typ.UInt8)
    		v7 := b.NewValue0(v.Pos, OpConst8, typ.UInt8)
    		v7.AuxInt = int8ToAuxInt(32)
    		v6.AddArg2(v7, s)
    		v4.AddArg2(v5, v6)
    		v1.AddArg2(v2, v4)
    		v8 := b.NewValue0(v.Pos, OpLsh32x8, typ.UInt32)
    		v9 := b.NewValue0(v.Pos, OpSub8, typ.UInt8)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 65.3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewrite.go

    	if x > y {
    		return x
    	}
    	return y
    }
    
    func isConstZero(v *Value) bool {
    	switch v.Op {
    	case OpConstNil:
    		return true
    	case OpConst64, OpConst32, OpConst16, OpConst8, OpConstBool, OpConst32F, OpConst64F:
    		return v.AuxInt == 0
    	}
    	return false
    }
    
    // reciprocalExact64 reports whether 1/c is exactly representable.
    func reciprocalExact64(c float64) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
Back to top