aboutsummaryrefslogtreecommitdiff
path: root/target-ppc
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2010-03-11 21:22:35 +0100
committerAurelien Jarno <aurelien@aurel32.net>2010-03-11 21:22:35 +0100
commit26b14dc4aba5f5794b3aa2cc1b1d9f99bf6f0a82 (patch)
tree001035444deb8cad63f533096d3c0e94c0ae02ff /target-ppc
parente29ef9fabef7366356b13667dfc01265354e9f41 (diff)
target-ppc: fix evsrwu and evsrws
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'target-ppc')
-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);