Re: [Qemu-devel] [PATCH 4/5] softfloat: Implement fused multiply-add

2011-09-30 Thread Peter Maydell
On 30 September 2011 16:28, Richard Henderson wrote: > On 09/28/2011 10:27 AM, Peter Maydell wrote: >>  /* >> +| Select which NaN to propagate for a three-input operation. >> +| For the moment we assume that no CPU needs t

Re: [Qemu-devel] [PATCH 4/5] softfloat: Implement fused multiply-add

2011-09-30 Thread Richard Henderson
On 09/28/2011 10:27 AM, Peter Maydell wrote: > > /* > +| Select which NaN to propagate for a three-input operation. > +| For the moment we assume that no CPU needs the 'larger significand' > +| information. > +| Return va

[Qemu-devel] [PATCH 4/5] softfloat: Implement fused multiply-add

2011-09-28 Thread Peter Maydell
Implement fused multiply-add as a softfloat primitive. This implements "a+b*c" as a single step without any intermediate rounding; it is specified in IEEE 754-2008 and implemented in a number of CPUs. Signed-off-by: Peter Maydell --- fpu/softfloat-specialize.h | 178 ++ fpu/soft