target-ppc: Clean up mullwo
commit269778769d4d24c511bc3d5f95eeb2e92dcf1868
authorTom Musta <tommusta@gmail.com>
Mon, 25 Aug 2014 19:25:43 +0000 (25 14:25 -0500)
committerAlexander Graf <agraf@suse.de>
Mon, 8 Sep 2014 10:50:53 +0000 (8 12:50 +0200)
tree05352c73f47a30ac0f99aba921559682489c7abe
parent03039e5ef0b92cb3ec89ff2caa5b57fa6bf12a88
target-ppc: Clean up mullwo

Simplify the implementation of mullwo.  For 64 bit CPUs, the result is
the concatenation of the upper and lower parts of the muls2_i32 operation,
which may be slightly better than deposit.  For 32 bit CPUs, the lower part
of the muls_i32 operation is moved into the target GPR.

Signed-off-by: Tom Musta <tommusta@gmail.com>
Suggested-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Alexander Graf <agraf@suse.de>
target-ppc/translate.c