Re: [Qemu-devel] [PATCH v1 18/19] fpu/softfloat: re-factor minmax

2017-12-18 Thread Richard Henderson
On 12/11/2017 04:57 AM, Alex Bennée wrote: > +static decomposed_parts minmax_decomposed(decomposed_parts a, > + decomposed_parts b, > + bool ismin, bool ieee, bool ismag, > + f

[Qemu-devel] [PATCH v1 18/19] fpu/softfloat: re-factor minmax

2017-12-11 Thread Alex Bennée
Let's do the same re-factor treatment for minmax functions. I still use the MACRO trick to expand but now all the checking code is common. Signed-off-by: Alex Bennée --- fpu/softfloat.c | 242 ++-- include/fpu/softfloat.h | 6 ++ 2 files chan