softfloat: Add float32_to_uint64()
commit47a34e009de2f4a99862e71e1d15d178dac5f259
authorTom Musta <tommusta@gmail.com>
Tue, 7 Jan 2014 17:17:50 +0000 (7 17:17 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 7 Jan 2014 19:18:07 +0000 (7 19:18 +0000)
treec75d20135ee600b346f7a34f20c7ba5d54057fc1
parent0ace25a5676af233a9b5abf48599dbcc45f92dcf
softfloat: Add float32_to_uint64()

This patch adds the float32_to_uint64() routine, which converts a
32-bit floating point number to an unsigned 64 bit number.

This contribution can be licensed under either the softfloat-2a or -2b
license.

Signed-off-by: Tom Musta <tommusta@gmail.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
[PMM: removed harmless but silly int64_t casts]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
fpu/softfloat.c
include/fpu/softfloat.h