[Qemu-devel] [PATCH 1/2] softfloat: Fix uint64_to_float64

2012-12-31 Thread Richard Henderson
The interface to normalizeRoundAndPackFloat64 requires that the high bit be clear. Perform one shift-right-and-jam if needed. Reviewed-by: Peter Maydell Signed-off-by: Richard Henderson --- fpu/softfloat.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/fpu/s

Re: [Qemu-devel] [PATCH 1/2] softfloat: Fix uint64_to_float64

2012-12-11 Thread Peter Maydell
On 11 December 2012 17:21, Richard Henderson wrote: > The interface to normalizeRoundAndPackFloat64 requires that the > high bit be clear. Perform one shift-right-and-jam if needed. > > Signed-off-by: Richard Henderson Reviewed-by: Peter Maydell -- PMM

[Qemu-devel] [PATCH 1/2] softfloat: Fix uint64_to_float64

2012-12-11 Thread Richard Henderson
The interface to normalizeRoundAndPackFloat64 requires that the high bit be clear. Perform one shift-right-and-jam if needed. Signed-off-by: Richard Henderson --- fpu/softfloat.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/fpu/softfloat.c b/fpu/softfloat.c

Re: [Qemu-devel] [PATCH 1/2] softfloat: Fix uint64_to_float64

2012-12-08 Thread Andreas Färber
Am 08.12.2012 17:08, schrieb Peter Maydell: > On 8 December 2012 14:48, Andreas Färber wrote: >> Shouldn't we be updating the Coding Style on all lines we touch? The >> shift line matches it but the normalize and ifs don't. > > fpu/ is a special case because the softfloat library has such > a bon

Re: [Qemu-devel] [PATCH 1/2] softfloat: Fix uint64_to_float64

2012-12-08 Thread Peter Maydell
On 8 December 2012 14:48, Andreas Färber wrote: > Shouldn't we be updating the Coding Style on all lines we touch? The > shift line matches it but the normalize and ifs don't. fpu/ is a special case because the softfloat library has such a bonkers coding style. I tend to update to qemu standard w

Re: [Qemu-devel] [PATCH 1/2] softfloat: Fix uint64_to_float64

2012-12-08 Thread Andreas Färber
Am 07.12.2012 22:52, schrieb Richard Henderson: > The interface to normalizeRoundAndPackFloat64 requires that the > high bit be clear. Perform one shift-right-and-jam if needed. > > Signed-off-by: Richard Henderson > --- > fpu/softfloat.c | 9 +++-- > 1 file changed, 7 insertions(+), 2 dele

Re: [Qemu-devel] [PATCH 1/2] softfloat: Fix uint64_to_float64

2012-12-08 Thread Peter Maydell
On 7 December 2012 21:52, Richard Henderson wrote: > The interface to normalizeRoundAndPackFloat64 requires that the > high bit be clear. Perform one shift-right-and-jam if needed. > > Signed-off-by: Richard Henderson Reviewed-by: Peter Maydell

[Qemu-devel] [PATCH 1/2] softfloat: Fix uint64_to_float64

2012-12-07 Thread Richard Henderson
The interface to normalizeRoundAndPackFloat64 requires that the high bit be clear. Perform one shift-right-and-jam if needed. Signed-off-by: Richard Henderson --- fpu/softfloat.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/fpu/softfloat.c b/fpu/softfloat.c index