[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 4/7] target/ppc: introduce dfp_finalize_decimal{64, 128}() he
From: |
Richard Henderson |
Subject: |
Re: [PATCH 4/7] target/ppc: introduce dfp_finalize_decimal{64, 128}() helper functions |
Date: |
Tue, 24 Sep 2019 14:47:38 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 |
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 <address@hidden>
> ---
> target/ppc/dfp_helper.c | 42 ++++++++++++++++++++++-------------------
> 1 file changed, 23 insertions(+), 19 deletions(-)
Reviewed-by: Richard Henderson <address@hidden>
r~
- [PATCH 2/7] target/ppc: introduce set_dfp{64,128}() helper functions, (continued)
- [PATCH 4/7] target/ppc: introduce dfp_finalize_decimal{64, 128}() helper functions, Mark Cave-Ayland, 2019/09/24
- Re: [PATCH 4/7] target/ppc: introduce dfp_finalize_decimal{64, 128}() helper functions,
Richard Henderson <=
- [PATCH 5/7] target/ppc: change struct PPC_DFP decimal storage from uint64[2] to ppc_vsr_t, Mark Cave-Ayland, 2019/09/24
- [PATCH 7/7] target/ppc: remove unnecessary if() around calls to set_dfp{64, 128}() in DFP macros, Mark Cave-Ayland, 2019/09/24
- Re: [PATCH 0/7] target/ppc: DFP fixes and improvements, Paul Clarke, 2019/09/24