On 01/06/2014 05:11 AM, Peter Maydell wrote: > From: Tom Musta <tommusta@xxxxxxxxx> > > 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@xxxxxxxxx> > Reviewed-by: Peter Maydell <peter.maydell@xxxxxxxxxx> > Signed-off-by: Peter Maydell <peter.maydell@xxxxxxxxxx> > --- > fpu/softfloat.c | 101 +++++++++++++++++++++++++++++++++++++++++++++++++++----- > 1 file changed, 93 insertions(+), 8 deletions(-) Reviewed-by: Richard Henderson <rth@xxxxxxxxxxx> r~ _______________________________________________ kvmarm mailing list kvmarm@xxxxxxxxxxxxxxxxxxxxx https://lists.cs.columbia.edu/cucslists/listinfo/kvmarm