target-ppc: Use 32-bit rotate instead of deposit + 64-bit rotate
commit63ae0915f8ec9746d17a25c27f64cf65550627ab
authorRichard Henderson <rth@twiddle.net>
Wed, 24 Feb 2016 01:18:35 +0000 (23 17:18 -0800)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 26 May 2016 23:40:22 +0000 (27 09:40 +1000)
tree717c5bc444ba059c4feb5df99aea5fd3dac38f5d
parent24f9cd951d1a8eda1ce1e2cf97a26ca169040331
target-ppc: Use 32-bit rotate instead of deposit + 64-bit rotate

A 32-bit rotate insn is more common on hosts than a deposit insn,
and if the host has neither the result is truely horrific.

At the same time, tidy up the temporaries within these functions,
drop the over-use of "likely", drop some checks for identity that
will also be checked by tcg-op.c functions, and special case mask
without rotate within rlwinm.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target-ppc/translate.c