qemu-e2k/fpu
Peter Maydell 6bb8e0f130 softfloat: Revert and reimplement remaining portions of 75d62a5856 and 3430b0be36
Revert the remaining portions of commits 75d62a5856 and 3430b0be36
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
2015-01-29 15:05:28 +00:00
..
softfloat-macros.h softfloat: Apply patch corresponding to rebasing to softfloat-2a 2015-01-29 15:05:28 +00:00
softfloat-specialize.h softfloat: Apply patch corresponding to rebasing to softfloat-2a 2015-01-29 15:05:28 +00:00
softfloat.c softfloat: Revert and reimplement remaining portions of 75d62a5856 and 3430b0be36 2015-01-29 15:05:28 +00:00