cris: Avoid useless tmp in t_gen_cc_jmp()
Signed-off-by: Edgar E. Iglesias <edgar@axis.com>
This commit is contained in:
parent
78935c4a4b
commit
2a704b137f
@ -577,20 +577,15 @@ static inline void t_gen_swapr(TCGv d, TCGv s)
|
||||
|
||||
static void t_gen_cc_jmp(TCGv pc_true, TCGv pc_false)
|
||||
{
|
||||
TCGv btaken;
|
||||
int l1;
|
||||
|
||||
l1 = gen_new_label();
|
||||
btaken = tcg_temp_new();
|
||||
|
||||
/* Conditional jmp. */
|
||||
tcg_gen_mov_tl(btaken, env_btaken);
|
||||
tcg_gen_mov_tl(env_pc, pc_false);
|
||||
tcg_gen_brcondi_tl(TCG_COND_EQ, btaken, 0, l1);
|
||||
tcg_gen_brcondi_tl(TCG_COND_EQ, env_btaken, 0, l1);
|
||||
tcg_gen_mov_tl(env_pc, pc_true);
|
||||
gen_set_label(l1);
|
||||
|
||||
tcg_temp_free(btaken);
|
||||
}
|
||||
|
||||
static void gen_goto_tb(DisasContext *dc, int n, target_ulong dest)
|
||||
|
Loading…
Reference in New Issue
Block a user