Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for OpConst8 (0.17 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/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