target-ppc: Fix rlwimi, rlwinm, rlwnm
commit2e11b15dff0bed8f29e844940f127e6e89cd766c
authorRichard Henderson <rth@twiddle.net>
Thu, 16 Jun 2016 19:04:04 +0000 (16 12:04 -0700)
committerDavid Gibson <david@gibson.dropbear.id.au>
Fri, 17 Jun 2016 06:33:33 +0000 (17 16:33 +1000)
tree960878f6192ed8463553493e48d6871da2a7acef
parentd917e88d85a147a99f38a62a4f95cac21e366d51
target-ppc: Fix rlwimi, rlwinm, rlwnm

In 63ae0915f8ec, I arranged to use a 32-bit rotate, without
considering the effect of a mask value that wraps around to
the high bits of the word.

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