aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2014-11-24 15:47:12 +0000
committerPeter Maydell <peter.maydell@linaro.org>2014-11-24 18:10:19 +0000
commit25cbb61cdc180a441758b10eb7dd74002de01f68 (patch)
treef954c1605d423244ff47ff4f982b8ea0b8289fa3 /include
parent17cf6bcca48ada54dede92d3d68af0b510fb68e2 (diff)
softfloat: Implement uint64_to_float64() and uint64_to_float32()
Reimplement from scratch the uint64_to_float64() and uint64_to_float32() conversion functions. Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/fpu/softfloat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/fpu/softfloat.h b/include/fpu/softfloat.h
index 772f9a11f1..50c2fec8c4 100644
--- a/include/fpu/softfloat.h
+++ b/include/fpu/softfloat.h
@@ -274,6 +274,8 @@ floatx80 int32_to_floatx80(int32_t STATUS_PARAM);
float128 int32_to_float128(int32_t STATUS_PARAM);
float32 int64_to_float32(int64_t STATUS_PARAM);
float64 int64_to_float64(int64_t STATUS_PARAM);
+float32 uint64_to_float32(uint64_t STATUS_PARAM);
+float64 uint64_to_float64(uint64_t STATUS_PARAM);
floatx80 int64_to_floatx80(int64_t STATUS_PARAM);
float128 int64_to_float128(int64_t STATUS_PARAM);
float128 uint64_to_float128(uint64_t STATUS_PARAM);