Re: [Qemu-devel] [PATCH v2 13/20] fpu/softfloat: re-factor div

2018-01-12 Thread Richard Henderson
On 01/12/2018 08:22 AM, Peter Maydell wrote: >> +/* Nicked from gmp longlong.h __udiv_qrnnd */ > Can we have a copyright/license attribution for code we nick > from other projects, please? :-) > LGPL 2.1 in this case. ;-) r~

Re: [Qemu-devel] [PATCH v2 13/20] fpu/softfloat: re-factor div

2018-01-12 Thread Peter Maydell
On 9 January 2018 at 12:22, Alex Bennée wrote: > We can now add float16_div and use the common decompose and > canonicalize functions to have a single implementation for > float16/32/64 versions. > > Signed-off-by: Alex Bennée > Signed-off-by: Richard Henderson > --- > fpu/softfloat-macros.h |

[Qemu-devel] [PATCH v2 13/20] fpu/softfloat: re-factor div

2018-01-09 Thread Alex Bennée
We can now add float16_div and use the common decompose and canonicalize functions to have a single implementation for float16/32/64 versions. Signed-off-by: Alex Bennée Signed-off-by: Richard Henderson --- fpu/softfloat-macros.h | 44 + fpu/softfloat.c | 235 +