mirror of https://github.com/xemu-project/xemu.git
target/mips: Drop tcg_temp_free from micromips_translate.c.inc
Translators are no longer required to free tcg temporaries. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
29c8a9e31a
commit
a85f83a040
|
@ -724,9 +724,6 @@ static void gen_ldst_multiple(DisasContext *ctx, uint32_t opc, int reglist,
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
tcg_temp_free(t0);
|
|
||||||
tcg_temp_free(t1);
|
|
||||||
tcg_temp_free_i32(t2);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -1018,8 +1015,6 @@ static void gen_ldst_pair(DisasContext *ctx, uint32_t opc, int rd,
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
tcg_temp_free(t0);
|
|
||||||
tcg_temp_free(t1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void gen_pool32axf(CPUMIPSState *env, DisasContext *ctx, int rt, int rs)
|
static void gen_pool32axf(CPUMIPSState *env, DisasContext *ctx, int rt, int rs)
|
||||||
|
@ -1067,7 +1062,6 @@ static void gen_pool32axf(CPUMIPSState *env, DisasContext *ctx, int rt, int rs)
|
||||||
|
|
||||||
gen_load_gpr(t0, rt);
|
gen_load_gpr(t0, rt);
|
||||||
gen_mtc0(ctx, t0, rs, (ctx->opcode >> 11) & 0x7);
|
gen_mtc0(ctx, t0, rs, (ctx->opcode >> 11) & 0x7);
|
||||||
tcg_temp_free(t0);
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
|
@ -1276,7 +1270,6 @@ static void gen_pool32axf(CPUMIPSState *env, DisasContext *ctx, int rt, int rs)
|
||||||
* mode.
|
* mode.
|
||||||
*/
|
*/
|
||||||
ctx->base.is_jmp = DISAS_STOP;
|
ctx->base.is_jmp = DISAS_STOP;
|
||||||
tcg_temp_free(t0);
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case EI:
|
case EI:
|
||||||
|
@ -1293,7 +1286,6 @@ static void gen_pool32axf(CPUMIPSState *env, DisasContext *ctx, int rt, int rs)
|
||||||
*/
|
*/
|
||||||
gen_save_pc(ctx->base.pc_next + 4);
|
gen_save_pc(ctx->base.pc_next + 4);
|
||||||
ctx->base.is_jmp = DISAS_EXIT;
|
ctx->base.is_jmp = DISAS_EXIT;
|
||||||
tcg_temp_free(t0);
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue