Re: [Qemu-devel] [PATCH 04/14] softfloat: Fix mixups of int and int16

2012-01-16 Thread Peter Maydell
On 16 January 2012 00:46, Andreas Färber wrote: > normalizeFloat{32,64}Subnormal() expect the exponent as int16, not int. > This went unnoticed since int16 and uint16 were both typedef'ed to int. I think at the time I wrote that I was being slightly conservative because I didn't feel like confirm

[Qemu-devel] [PATCH 04/14] softfloat: Fix mixups of int and int16

2012-01-15 Thread Andreas Färber
normalizeFloat{32,64}Subnormal() expect the exponent as int16, not int. This went unnoticed since int16 and uint16 were both typedef'ed to int. Signed-off-by: Andreas Färber --- fpu/softfloat.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fpu/softfloat.c b/fpu/soft