Re: [PATCH v2 03/28] softfloat: Move uint_to_float to softfloat-parts.c.inc

2021-06-02 Thread Richard Henderson
On 6/2/21 4:31 AM, Alex Bennée wrote: +scale = MIN(MAX(scale, -0x1), 0x1); here but it does seem weird to have an arbitrary limit here +p->cls = float_class_normal; +p->exp = DECOMPOSED_BINARY_POINT - shift + scale; where it's really a limit on fmt->exp_max.

Re: [PATCH v2 03/28] softfloat: Move uint_to_float to softfloat-parts.c.inc

2021-06-02 Thread Alex Bennée
Richard Henderson writes: > Rename to parts$N_uint_to_float. > Reimplement uint64_to_float128 with FloatParts128. > > Signed-off-by: Richard Henderson > --- > fpu/softfloat.c | 83 --- > fpu/softfloat-parts.c.inc | 23 +++ > 2 files change

Re: [PATCH v2 03/28] softfloat: Move uint_to_float to softfloat-parts.c.inc

2021-05-26 Thread David Hildenbrand
On 25.05.21 17:06, Richard Henderson wrote: Rename to parts$N_uint_to_float. Reimplement uint64_to_float128 with FloatParts128. Signed-off-by: Richard Henderson --- fpu/softfloat.c | 83 --- fpu/softfloat-parts.c.inc | 23 +++ 2 files ch