summary refs log tree commit diff stats
path: root/hw/xen_platform.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2012-09-24 17:28:35 +0100
committerAurelien Jarno <aurelien@aurel32.net>2012-10-01 22:06:39 +0200
commit4be8eeacb9f2b01ad98747ad88e54a7feabc664c (patch)
tree6ac223987b862445c6fdf585a5d0ed3d7290c3dc /hw/xen_platform.c
parent0f41dc182c7e4e2ae160641552101a2a199f7c4c (diff)
downloadfocaccia-qemu-4be8eeacb9f2b01ad98747ad88e54a7feabc664c.tar.gz
focaccia-qemu-4be8eeacb9f2b01ad98747ad88e54a7feabc664c.zip
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>
Diffstat (limited to 'hw/xen_platform.c')
0 files changed, 0 insertions, 0 deletions