aboutsummaryrefslogtreecommitdiff
path: root/tcg/ppc
diff options
context:
space:
mode:
authormalc <av1474@comtv.ru>2010-02-23 00:50:03 +0300
committermalc <av1474@comtv.ru>2010-02-23 00:50:03 +0300
commit98b8d951dc5bcb94eaa309fbd362d2bb438d3ed6 (patch)
tree32f20e07c73446eb9984d5f48291923e426eb0dc /tcg/ppc
parent63e6f31d1b43c742cf88375f85c2d7e05b2dfe18 (diff)
tcg/ppc: Fix typo
Signed-off-by: malc <av1474@comtv.ru>
Diffstat (limited to 'tcg/ppc')
-rw-r--r--tcg/ppc/tcg-target.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcg/ppc/tcg-target.c b/tcg/ppc/tcg-target.c
index 31101c86e0..96cc461900 100644
--- a/tcg/ppc/tcg-target.c
+++ b/tcg/ppc/tcg-target.c
@@ -1575,7 +1575,7 @@ static void tcg_out_op(TCGContext *s, int opc, const TCGArg *args,
case INDEX_op_rotr_i32:
if (const_args[2]) {
if (!args[2]) {
- tcg_out_mov (s, args[0], args[2]);
+ tcg_out_mov (s, args[0], args[1]);
}
else {
tcg_out32 (s, RLWINM