tcg-ppc64: rotr_i32 rotates wrong amount
authorAnton Blanchard <anton@samba.org>
Sun, 2 Jun 2013 12:30:18 +0000 (22:30 +1000)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Mon, 17 Jun 2013 23:01:42 +0000 (18:01 -0500)
commit02d26729ea39fdca8385fbaf96cef904b2935891
tree870bfd935e1664d62868aca799566465e475a47b
parent2917f6bcd04a4c75a1e0831eab7e4d62b714d252
tcg-ppc64: rotr_i32 rotates wrong amount

rotr_i32 calculates the amount to left shift and puts it into a
temporary, but then doesn't use it when doing the shift.

Cc: qemu-stable@nongnu.org
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Richard Henderson <rth@twiddle.net>
(cherry picked from commit d1bdd3af49f227dd4a4b03b90cb020c55cbed440)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
tcg/ppc64/tcg-target.c