On 9/24/19 8:35 AM, Mark Cave-Ayland wrote: > Most of the DFP helper functions call decimal{64,128}FromNumber() just before > returning in order to convert the decNumber stored in dfp.t64 back to a > Decimal{64,128} to write back to the FP registers. > > Introduce new dfp_finalize_decimal{64,128}() helper functions which both > enable > the parameter list to be reduced considerably, and also help minimise the > changes required in the next patch. > > Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk> > --- > target/ppc/dfp_helper.c | 42 ++++++++++++++++++++++------------------- > 1 file changed, 23 insertions(+), 19 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~