]> git.proxmox.com Git - qemu.git/commit
fpu/softfloat.c: Return correctly signed values from uint64_to_float32
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 28 Sep 2012 15:17:03 +0000 (16:17 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Mon, 1 Oct 2012 20:06:39 +0000 (22:06 +0200)
commite744c06fca438dc08271e626034e632a270c91c8
treebcb62ade66b74fb0a32e7ce814d0b16d11ddaa7e
parent4be8eeacb9f2b01ad98747ad88e54a7feabc664c
fpu/softfloat.c: Return correctly signed values from uint64_to_float32

The uint64_to_float32() conversion function was incorrectly always
returning numbers with the sign bit set (ie negative numbers). Correct
this so we return positive numbers instead.

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