mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
target/sh4: Convert to tcg_ops restore_state_to_opc
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
3479783b39
commit
e7977326cd
2 changed files with 16 additions and 10 deletions
|
@ -2381,13 +2381,3 @@ void gen_intermediate_code(CPUState *cs, TranslationBlock *tb, int max_insns,
|
|||
|
||||
translator_loop(cs, tb, max_insns, pc, host_pc, &sh4_tr_ops, &ctx.base);
|
||||
}
|
||||
|
||||
void restore_state_to_opc(CPUSH4State *env, TranslationBlock *tb,
|
||||
target_ulong *data)
|
||||
{
|
||||
env->pc = data[0];
|
||||
env->flags = data[1];
|
||||
/* Theoretically delayed_pc should also be restored. In practice the
|
||||
branch instruction is re-executed after exception, so the delayed
|
||||
branch target will be recomputed. */
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue