Commit 06b3e1b3a9d2e252b1921cefe60af4513a21fe4a
1 parent
fb50d413
Convert jumps to labels to TCG
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4094 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
2 changed files
with
3 additions
and
8 deletions
target-sparc/op.c
target-sparc/translate.c
... | ... | @@ -750,7 +750,7 @@ static inline void gen_op_mulscc_T1_T0(void) |
750 | 750 | tcg_gen_andi_i32(r_temp, r_temp, 0x1); |
751 | 751 | tcg_gen_brcond_i32(TCG_COND_EQ, r_temp, tcg_const_tl(0), l1); |
752 | 752 | tcg_gen_mov_tl(cpu_cc_src2, cpu_T[1]); |
753 | - gen_op_jmp_label(l2); | |
753 | + tcg_gen_br(l2); | |
754 | 754 | gen_set_label(l1); |
755 | 755 | tcg_gen_movi_tl(cpu_cc_src2, 0); |
756 | 756 | gen_set_label(l2); |
... | ... | @@ -863,7 +863,7 @@ static inline void gen_op_sdivx_T1_T0(void) |
863 | 863 | tcg_gen_brcond_i64(TCG_COND_NE, cpu_T[0], tcg_const_i64(INT64_MIN), l1); |
864 | 864 | tcg_gen_brcond_i64(TCG_COND_NE, cpu_T[1], tcg_const_i64(-1), l1); |
865 | 865 | tcg_gen_movi_i64(cpu_T[0], INT64_MIN); |
866 | - gen_op_jmp_label(l2); | |
866 | + tcg_gen_br(l2); | |
867 | 867 | gen_set_label(l1); |
868 | 868 | tcg_gen_div_i64(cpu_T[0], cpu_T[0], cpu_T[1]); |
869 | 869 | gen_set_label(l2); |
... | ... | @@ -1205,7 +1205,7 @@ static inline void gen_generic_branch(target_ulong npc1, target_ulong npc2, |
1205 | 1205 | tcg_gen_brcond_tl(TCG_COND_EQ, r_cond, tcg_const_tl(0), l1); |
1206 | 1206 | |
1207 | 1207 | gen_movl_npc_im(npc1); |
1208 | - gen_op_jmp_label(l2); | |
1208 | + tcg_gen_br(l2); | |
1209 | 1209 | |
1210 | 1210 | gen_set_label(l1); |
1211 | 1211 | gen_movl_npc_im(npc2); | ... | ... |