diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2022-10-24 20:40:30 +1000 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2022-10-26 11:11:28 +1000 |
commit | 3eb2c184bf900e17c1f8f0a09fba26e7c954cca0 (patch) | |
tree | 56069ec360c340d1c882829462be176a5dded76d /target/openrisc/translate.c | |
parent | fbd5bd4ebcc8235475263a88e190444c264206b4 (diff) | |
download | qemu-3eb2c184bf900e17c1f8f0a09fba26e7c954cca0.zip qemu-3eb2c184bf900e17c1f8f0a09fba26e7c954cca0.tar.gz qemu-3eb2c184bf900e17c1f8f0a09fba26e7c954cca0.tar.bz2 |
target/openrisc: 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>
Diffstat (limited to 'target/openrisc/translate.c')
-rw-r--r-- | target/openrisc/translate.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/target/openrisc/translate.c b/target/openrisc/translate.c index 8154f9d..2f3d7c5 100644 --- a/target/openrisc/translate.c +++ b/target/openrisc/translate.c @@ -1726,13 +1726,3 @@ void openrisc_cpu_dump_state(CPUState *cs, FILE *f, int flags) (i % 4) == 3 ? '\n' : ' '); } } - -void restore_state_to_opc(CPUOpenRISCState *env, TranslationBlock *tb, - target_ulong *data) -{ - env->pc = data[0]; - env->dflag = data[1] & 1; - if (data[1] & 2) { - env->ppc = env->pc - 4; - } -} |