Commit a569557f52c60afbe7360d5a1cbd6be309dd93ae
1 parent
619dfca1
Fix argument order.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4651 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
2 additions
and
2 deletions
target-mips/translate.c
... | ... | @@ -1422,7 +1422,7 @@ static void gen_arith_imm (CPUState *env, DisasContext *ctx, uint32_t opc, |
1422 | 1422 | tcg_gen_shl_i32(r_tmp2, r_tmp1, r_tmp2); |
1423 | 1423 | tcg_gen_shri_i32(r_tmp1, r_tmp1, uimm); |
1424 | 1424 | tcg_gen_or_i32(r_tmp1, r_tmp1, r_tmp2); |
1425 | - tcg_gen_ext_i32_tl(r_tmp1, cpu_T[0]); | |
1425 | + tcg_gen_ext_i32_tl(cpu_T[0], r_tmp1); | |
1426 | 1426 | dead_tmp(r_tmp1); |
1427 | 1427 | dead_tmp(r_tmp2); |
1428 | 1428 | } |
... | ... | @@ -1762,7 +1762,7 @@ static void gen_arith (CPUState *env, DisasContext *ctx, uint32_t opc, |
1762 | 1762 | tcg_gen_shl_i32(r_tmp3, r_tmp2, r_tmp3); |
1763 | 1763 | tcg_gen_shr_i32(r_tmp1, r_tmp2, r_tmp1); |
1764 | 1764 | tcg_gen_or_i32(r_tmp1, r_tmp1, r_tmp3); |
1765 | - tcg_gen_ext_i32_tl(r_tmp1, cpu_T[0]); | |
1765 | + tcg_gen_ext_i32_tl(cpu_T[0], r_tmp1); | |
1766 | 1766 | dead_tmp(r_tmp1); |
1767 | 1767 | dead_tmp(r_tmp2); |
1768 | 1768 | dead_tmp(r_tmp3); | ... | ... |