|
From: | Richard Henderson |
Subject: | Re: [PATCH 7/7] target/ppc: remove unnecessary if() around calls to set_dfp{64, 128}() in DFP macros |
Date: | Tue, 24 Sep 2019 14:47:07 -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: > Now that the parameters to both set_dfp64() and set_dfp128() are exactly the > same, there is no need for an explicit if() statement to determine which > function should be called based upon size. Instead we can simply use the > preprocessor to generate the call to set_dfp##size() directly. > > Signed-off-by: Mark Cave-Ayland <address@hidden> > --- > target/ppc/dfp_helper.c | 60 +++++++---------------------------------- > 1 file changed, 10 insertions(+), 50 deletions(-) Reviewed-by: Richard Henderson <address@hidden> r~
[Prev in Thread] | Current Thread | [Next in Thread] |