]> git.proxmox.com Git - mirror_qemu.git/commit
softfloat: Revert and reimplement remaining portions of 75d62a5856 and 3430b0be36f
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 12 Jan 2015 14:38:26 +0000 (14:38 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 29 Jan 2015 15:05:28 +0000 (15:05 +0000)
commit6bb8e0f130bd4aecfe835a0caa94390fa2235fde
tree8e1b8ecb00e813a2efc00a61e8f3e5e5d46cfa24
parenta7d1ac78e0f1101df2ff84502029a4b0da6024ae
softfloat: Revert and reimplement remaining portions of 75d62a5856 and 3430b0be36f

Revert the remaining portions of commits 75d62a5856 and 3430b0be36f
which are under a SoftFloat-2b license, ie the functions
uint64_to_float32() and uint64_to_float64(). (The float64_to_uint64()
and float64_to_uint64_round_to_zero() functions were completely
rewritten in commits fb3ea83aa and 0a87a3107d so can stay.)

Reimplement from scratch the uint64_to_float64() and uint64_to_float32()
conversion functions.

[This is a mechanical squashing together of two separate "revert"
and "reimplement" patches.]

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1421073508-23909-3-git-send-email-peter.maydell@linaro.org
fpu/softfloat.c
include/fpu/softfloat.h