[prev in list] [next in list] [prev in thread] [next in thread]
List: qemu-commits
Subject: [Qemu-commits] [qemu/qemu] 4be8ee: fpu/softfloat.c: Remove pointless shift of always-...
From: GitHub <noreply () github ! com>
Date: 2012-10-01 20:30:10
Message-ID: 5069fd522b9c3_26ab1549aec886a5 () sh2 ! rs ! github ! com ! mail
[Download RAW message or body]
----==_mimepart_5069fd5228dcf_26ab1549aec884fc
Date: Mon, 01 Oct 2012 13:30:10 -0700
Mime-Version: 1.0
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-ID: <5069fd522a774_26ab1549aec885eb@sh2.rs.github.com.mail>
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: 4be8eeacb9f2b01ad98747ad88e54a7feabc664c
https://github.com/qemu/qemu/commit/4be8eeacb9f2b01ad98747ad88e54a7feabc664c
Author: Peter Maydell <peter.maydell@linaro.org>
Date: 2012-10-01 (Mon, 01 Oct 2012)
Changed paths:
M fpu/softfloat.c
Log Message:
-----------
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>
Commit: e744c06fca438dc08271e626034e632a270c91c8
https://github.com/qemu/qemu/commit/e744c06fca438dc08271e626034e632a270c91c8
Author: Peter Maydell <peter.maydell@linaro.org>
Date: 2012-10-01 (Mon, 01 Oct 2012)
Changed paths:
M fpu/softfloat.c
Log Message:
-----------
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>
Compare: https://github.com/qemu/qemu/compare/0f41dc182c7e...e744c06fca43
----==_mimepart_5069fd5228dcf_26ab1549aec884fc--
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic