summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAurelien Jarno2010-03-11 21:22:35 +0100
committerAurelien Jarno2010-03-11 21:22:35 +0100
commit26b14dc4aba5f5794b3aa2cc1b1d9f99bf6f0a82 (patch)
tree001035444deb8cad63f533096d3c0e94c0ae02ff
parenttarget-ppc: fix evslw instruction (diff)
downloadqemu-26b14dc4aba5f5794b3aa2cc1b1d9f99bf6f0a82.tar.gz
qemu-26b14dc4aba5f5794b3aa2cc1b1d9f99bf6f0a82.tar.xz
qemu-26b14dc4aba5f5794b3aa2cc1b1d9f99bf6f0a82.zip
target-ppc: fix evsrwu and evsrws
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
-rw-r--r--target-ppc/translate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target-ppc/translate.c b/target-ppc/translate.c
index 9d17fb35cb..fb1f820b14 100644
--- a/target-ppc/translate.c
+++ b/target-ppc/translate.c
@@ -6733,7 +6733,7 @@ static inline void gen_op_evsrwu(TCGv_i32 ret, TCGv_i32 arg1, TCGv_i32 arg2)
tcg_gen_br(l2);
gen_set_label(l1);
tcg_gen_movi_i32(ret, 0);
- tcg_gen_br(l2);
+ tcg_gen_label(l2);
tcg_temp_free_i32(t0);
}
GEN_SPEOP_ARITH2(evsrwu, gen_op_evsrwu);
@@ -6752,7 +6752,7 @@ static inline void gen_op_evsrws(TCGv_i32 ret, TCGv_i32 arg1, TCGv_i32 arg2)
tcg_gen_br(l2);
gen_set_label(l1);
tcg_gen_movi_i32(ret, 0);
- tcg_gen_br(l2);
+ tcg_gen_label(l2);
tcg_temp_free_i32(t0);
}
GEN_SPEOP_ARITH2(evsrws, gen_op_evsrws);