Re: [Qemu-devel] [PATCH 09/22] softfloat: Fix float64_to_uint32

2013-12-31 Thread Richard Henderson
On 12/31/2013 05:35 AM, Peter Maydell wrote: > From: Tom Musta > > The float64_to_uint32 has several flaws: > > - for numbers between 2**32 and 2**64, the inexact exception flag >may get incorrectly set. In this case, only the invalid flag >should be set. > >test pattern: 425F

[Qemu-devel] [PATCH 09/22] softfloat: Fix float64_to_uint32

2013-12-31 Thread Peter Maydell
From: Tom Musta The float64_to_uint32 has several flaws: - for numbers between 2**32 and 2**64, the inexact exception flag may get incorrectly set. In this case, only the invalid flag should be set. test pattern: 425F81378DC0CD1F / 0x1.f81378dc0cd1fp+38 - for numbers between 2*