mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
target/hppa: 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
9015781416
commit
e9cc3aca11
2 changed files with 19 additions and 13 deletions
|
@ -4346,16 +4346,3 @@ void gen_intermediate_code(CPUState *cs, TranslationBlock *tb, int max_insns,
|
|||
DisasContext ctx;
|
||||
translator_loop(cs, tb, max_insns, pc, host_pc, &hppa_tr_ops, &ctx.base);
|
||||
}
|
||||
|
||||
void restore_state_to_opc(CPUHPPAState *env, TranslationBlock *tb,
|
||||
target_ulong *data)
|
||||
{
|
||||
env->iaoq_f = data[0];
|
||||
if (data[1] != (target_ureg)-1) {
|
||||
env->iaoq_b = data[1];
|
||||
}
|
||||
/* Since we were executing the instruction at IAOQ_F, and took some
|
||||
sort of action that provoked the cpu_restore_state, we can infer
|
||||
that the instruction was not nullified. */
|
||||
env->psw_n = 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue