or: ssa.OpOr64,
floatValue: (*state).constFloat32,
intValue: (*state).constInt64,
- cutoff: 9223372036854775808,
+ cutoff: 1 << 63,
}
var f64_u64 = f2uCvtTab{
or: ssa.OpOr64,
floatValue: (*state).constFloat64,
intValue: (*state).constInt64,
- cutoff: 9223372036854775808,
+ cutoff: 1 << 63,
}
var f32_u32 = f2uCvtTab{
or: ssa.OpOr32,
floatValue: (*state).constFloat32,
intValue: func(s *state, t *types.Type, v int64) *ssa.Value { return s.constInt32(t, int32(v)) },
- cutoff: 2147483648,
+ cutoff: 1 << 31,
}
var f64_u32 = f2uCvtTab{
or: ssa.OpOr32,
floatValue: (*state).constFloat64,
intValue: func(s *state, t *types.Type, v int64) *ssa.Value { return s.constInt32(t, int32(v)) },
- cutoff: 2147483648,
+ cutoff: 1 << 31,
}
func (s *state) float32ToUint64(n *Node, x *ssa.Value, ft, tt *types.Type) *ssa.Value {