Re: [Qemu-devel] [PATCH] fpu: Correct edgecase in float64_muladd

2013-04-15 Thread Aurelien Jarno
On Fri, Apr 12, 2013 at 04:37:52PM +0100, Peter Maydell wrote: > In handling float64_muladd, if we end up doing a subtraction of the > product and c, and the 128 bit result of this subtraction happens to > have its most significant bit in bit 63, we weren't handling this > correctly when attempting

Re: [Qemu-devel] [PATCH] fpu: Correct edgecase in float64_muladd

2013-04-13 Thread Aurelien Jarno
On Fri, Apr 12, 2013 at 04:37:52PM +0100, Peter Maydell wrote: > In handling float64_muladd, if we end up doing a subtraction of the > product and c, and the 128 bit result of this subtraction happens to > have its most significant bit in bit 63, we weren't handling this > correctly when attempting

[Qemu-devel] [PATCH] fpu: Correct edgecase in float64_muladd

2013-04-12 Thread Peter Maydell
In handling float64_muladd, if we end up doing a subtraction of the product and c, and the 128 bit result of this subtraction happens to have its most significant bit in bit 63, we weren't handling this correctly when attempting to normalize to put the most significant bit into bit 126. We would e