fpu/softfloat.c: Remove pointless shift of always-zero value
commit4be8eeacb9f2b01ad98747ad88e54a7feabc664c
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 24 Sep 2012 16:28:35 +0000 (24 17:28 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Mon, 1 Oct 2012 20:06:39 +0000 (1 22:06 +0200)
tree6ac223987b862445c6fdf585a5d0ed3d7290c3dc
parent0f41dc182c7e4e2ae160641552101a2a199f7c4c
fpu/softfloat.c: Remove pointless shift of always-zero value

In float16_to_float32, when returning an infinity, just pass zero
as the mantissa argument to packFloat32(), rather than shifting
a value which we know must be zero.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
fpu/softfloat.c