]> git.ipfire.org Git - thirdparty/qemu.git/commit
tcg-ppc64: rotr_i32 rotates wrong amount
authorAnton Blanchard <anton@samba.org>
Sun, 2 Jun 2013 12:30:18 +0000 (22:30 +1000)
committerRichard Henderson <rth@twiddle.net>
Mon, 17 Jun 2013 17:42:16 +0000 (10:42 -0700)
commitd1bdd3af49f227dd4a4b03b90cb020c55cbed440
tree933591c0faf9fd581eb0a894bb0408d9fb294232
parent84247357104044b8c4ec4a634e84769f432cbe52
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>
tcg/ppc64/tcg-target.c