Re: [Qemu-devel] [PATCH 14/22] softfloat: Add support for ties-away rounding

2013-12-31 Thread Richard Henderson
On 12/31/2013 06:56 AM, Peter Maydell wrote: > The IEEE spec specifically calls this roundTiesToAway. I'd rather > not deviate from the official name unless there's a good reason. Fair enough. r~

Re: [Qemu-devel] [PATCH 14/22] softfloat: Add support for ties-away rounding

2013-12-31 Thread Peter Maydell
On 31 December 2013 14:51, Richard Henderson wrote: > [Tom, this is exactly what you need to fix FRIN rounding.] > > On 12/31/2013 05:35 AM, Peter Maydell wrote: >> -float_round_to_zero = 3 >> +float_round_to_zero = 3, >> +float_round_ties_away= 4, > > I'm not keen on the

Re: [Qemu-devel] [PATCH 14/22] softfloat: Add support for ties-away rounding

2013-12-31 Thread Richard Henderson
[Tom, this is exactly what you need to fix FRIN rounding.] On 12/31/2013 05:35 AM, Peter Maydell wrote: > -float_round_to_zero = 3 > +float_round_to_zero = 3, > +float_round_ties_away= 4, I'm not keen on the name. Does anyone else think float_round_nearest_inf is a bett

[Qemu-devel] [PATCH 14/22] softfloat: Add support for ties-away rounding

2013-12-31 Thread Peter Maydell
IEEE754-2008 specifies a new rounding mode: "roundTiesToAway: the floating-point number nearest to the infinitely precise result shall be delivered; if the two nearest floating-point numbers bracketing an unrepresentable infinitely precise result are equally near, the one with larger magnitude sha