softfloat: Fix mixups of int and int16
authorAndreas Färber <afaerber@suse.de>
Wed, 25 Apr 2012 22:15:53 +0000 (00:15 +0200)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 28 Apr 2012 09:12:24 +0000 (09:12 +0000)
commitc9696547d4b2d4da9e27d87a56f246d0c6551b96
tree4fbe2364c3be1a993bdf251237bec639825f714c
parentc4c50b9edd61140af5112b196b75057ab5d98b4e
softfloat: Fix mixups of int and int16

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 <afaerber@suse.de>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Tested-by: Bernhard Walle <bernhard@bwalle.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
fpu/softfloat.c