Re: [Qemu-devel] [PULL 18/22] fpu/softfloat: re-factor int/uint to float

2018-05-08 Thread Alex Bennée
Peter Maydell writes: > On 27 April 2018 at 14:49, Alex Bennée wrote: >> >> Peter Maydell writes: >> >>> On 21 February 2018 at 11:05, Alex Bennée wrote: +/* + * Integer to float

Re: [Qemu-devel] [PULL 18/22] fpu/softfloat: re-factor int/uint to float

2018-05-08 Thread Peter Maydell
On 27 April 2018 at 14:49, Alex Bennée wrote: > > Peter Maydell writes: > >> On 21 February 2018 at 11:05, Alex Bennée wrote: >>> +/* >>> + * Integer to float conversions >>> + * >>> + * Returns the result of converting

Re: [Qemu-devel] [PULL 18/22] fpu/softfloat: re-factor int/uint to float

2018-04-27 Thread Alex Bennée
Peter Maydell writes: > On 21 February 2018 at 11:05, Alex Bennée wrote: >> +/* >> + * Integer to float conversions >> + * >> + * Returns the result of converting the two's complement integer `a' >> + * to the floating-point format. The

Re: [Qemu-devel] [PULL 18/22] fpu/softfloat: re-factor int/uint to float

2018-04-27 Thread Peter Maydell
On 21 February 2018 at 11:05, Alex Bennée wrote: > +/* > + * Integer to float conversions > + * > + * Returns the result of converting the two's complement integer `a' > + * to the floating-point format. The conversion is performed according > + * to the IEC/IEEE Standard

[Qemu-devel] [PULL 18/22] fpu/softfloat: re-factor int/uint to float

2018-02-21 Thread Alex Bennée
These are considerably simpler as the lower order integers can just use the higher order conversion function. As the decomposed fractional part is a full 64 bit rounding and inexact handling comes from the pack functions. Signed-off-by: Alex Bennée Reviewed-by: Richard