summary refs log tree commit diff stats
path: root/hw/core/qdev-properties-system.c
diff options
context:
space:
mode:
authorTom Musta <tommusta@gmail.com>2014-01-07 17:17:49 +0000
committerPeter Maydell <peter.maydell@linaro.org>2014-01-07 19:18:07 +0000
commitf883b3896ed5e180f234613aadca019fdbe7c49c (patch)
tree2293008ae51b5a670c2758f7ebbce96edddece6b /hw/core/qdev-properties-system.c
parent564658dc8c5fabdc73702967590a5652bc45107f (diff)
downloadfocaccia-qemu-f883b3896ed5e180f234613aadca019fdbe7c49c.tar.gz
focaccia-qemu-f883b3896ed5e180f234613aadca019fdbe7c49c.zip
softfloat: Fix float64_to_uint64
The comment preceding the float64_to_uint64 routine suggests that
the implementation is broken.  And this is, indeed, the case.

This patch properly implements the conversion of a 64-bit floating
point number to an unsigned, 64 bit integer.

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>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'hw/core/qdev-properties-system.c')
0 files changed, 0 insertions, 0 deletions