Re: [RFC PATCH 1/6] softfloat: add uint128_to_float* conversion methods
On 3/28/22 14:14, matheus.fe...@eldorado.org.br wrote: +p->frac_hi = shl_double(hi, lo, shift); +if (N > 64) { +p->frac_lo = shl_double(lo, 0, shift); +} shl_double(x, 0, n) -> x << n. You could also assign to frac_lo before frac_hi and drop the N > 64 test,
[RFC PATCH 1/6] softfloat: add uint128_to_float* conversion methods
From: Matheus Ferst Based on parts_uint_to_float, implements parts_uint_to_float2 that receives a 128-bit integer through a pair of uint64_t values. Signed-off-by: Matheus Ferst --- fpu/softfloat-parts.c.inc | 19 +++ fpu/softfloat.c | 30 +