diff options
| author | Tom Musta | 2014-01-07 18:17:49 +0100 |
|---|---|---|
| committer | Peter Maydell | 2014-01-07 20:18:07 +0100 |
| commit | f883b3896ed5e180f234613aadca019fdbe7c49c (patch) | |
| tree | 2293008ae51b5a670c2758f7ebbce96edddece6b /scripts | |
| parent | softfloat: Make the int-to-float functions take exact-width types (diff) | |
| download | qemu-f883b3896ed5e180f234613aadca019fdbe7c49c.tar.gz qemu-f883b3896ed5e180f234613aadca019fdbe7c49c.tar.xz 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 'scripts')
0 files changed, 0 insertions, 0 deletions
