aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--target-sparc/op.c5
-rw-r--r--target-sparc/translate.c6
2 files changed, 3 insertions, 8 deletions
diff --git a/target-sparc/op.c b/target-sparc/op.c
index 99b9942e00..cc4aa14acb 100644
--- a/target-sparc/op.c
+++ b/target-sparc/op.c
@@ -37,11 +37,6 @@
#endif
#endif
-void OPPROTO op_jmp_label(void)
-{
- GOTO_LABEL_PARAM(1);
-}
-
#define CHECK_ALIGN_OP(align) \
void OPPROTO op_check_align_T0_ ## align (void) \
{ \
diff --git a/target-sparc/translate.c b/target-sparc/translate.c
index 0295fcd15e..69ce4cbfff 100644
--- a/target-sparc/translate.c
+++ b/target-sparc/translate.c
@@ -750,7 +750,7 @@ static inline void gen_op_mulscc_T1_T0(void)
tcg_gen_andi_i32(r_temp, r_temp, 0x1);
tcg_gen_brcond_i32(TCG_COND_EQ, r_temp, tcg_const_tl(0), l1);
tcg_gen_mov_tl(cpu_cc_src2, cpu_T[1]);
- gen_op_jmp_label(l2);
+ tcg_gen_br(l2);
gen_set_label(l1);
tcg_gen_movi_tl(cpu_cc_src2, 0);
gen_set_label(l2);
@@ -863,7 +863,7 @@ static inline void gen_op_sdivx_T1_T0(void)
tcg_gen_brcond_i64(TCG_COND_NE, cpu_T[0], tcg_const_i64(INT64_MIN), l1);
tcg_gen_brcond_i64(TCG_COND_NE, cpu_T[1], tcg_const_i64(-1), l1);
tcg_gen_movi_i64(cpu_T[0], INT64_MIN);
- gen_op_jmp_label(l2);
+ tcg_gen_br(l2);
gen_set_label(l1);
tcg_gen_div_i64(cpu_T[0], cpu_T[0], cpu_T[1]);
gen_set_label(l2);
@@ -1205,7 +1205,7 @@ static inline void gen_generic_branch(target_ulong npc1, target_ulong npc2,
tcg_gen_brcond_tl(TCG_COND_EQ, r_cond, tcg_const_tl(0), l1);
gen_movl_npc_im(npc1);
- gen_op_jmp_label(l2);
+ tcg_gen_br(l2);
gen_set_label(l1);
gen_movl_npc_im(npc2);