target/ppc: remove unnecessary if() around calls to set_dfp{64,128}() in DFP macros
commitf6d4c423a222f02bfa84a49c3d306d7341ec9bab
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Thu, 26 Sep 2019 18:58:01 +0000 (26 19:58 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Fri, 4 Oct 2019 09:08:21 +0000 (4 19:08 +1000)
treed2360b563baa958167f7df39496ba61225a0a391
parent1ea80bf7f4398099b6818f574cda8b4089c62340
target/ppc: remove unnecessary if() around calls to set_dfp{64,128}() in DFP macros

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 <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20190926185801.11176-8-mark.cave-ayland@ilande.co.uk>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/dfp_helper.c