commit | 4be8eeacb9f2b01ad98747ad88e54a7feabc664c | [log] [tgz] |
---|---|---|
author | Peter Maydell <peter.maydell@linaro.org> | Mon Sep 24 17:28:35 2012 +0100 |
committer | Aurelien Jarno <aurelien@aurel32.net> | Mon Oct 01 22:06:39 2012 +0200 |
tree | 6ac223987b862445c6fdf585a5d0ed3d7290c3dc | |
parent | 0f41dc182c7e4e2ae160641552101a2a199f7c4c [diff] |
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>