projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
279513c
)
target/tricore: Replace `tb_pc()` with `tb->pc`
author
Anton Johansson
<anjo@rev.ng>
Mon, 27 Feb 2023 13:51:48 +0000
(14:51 +0100)
committer
Richard Henderson
<richard.henderson@linaro.org>
Wed, 1 Mar 2023 17:33:05 +0000
(07:33 -1000)
Signed-off-by: Anton Johansson <anjo@rev.ng>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <
20230227135202
.9710-14-anjo@rev.ng>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/tricore/cpu.c
patch
|
blob
|
history
diff --git
a/target/tricore/cpu.c
b/target/tricore/cpu.c
index 594cd1efd5ee281aa0044c778073022120363931..d0a92729610c2f9b5f371e8821b77e25d559c9e4 100644
(file)
--- a/
target/tricore/cpu.c
+++ b/
target/tricore/cpu.c
@@
-55,7
+55,8
@@
static void tricore_cpu_synchronize_from_tb(CPUState *cs,
TriCoreCPU *cpu = TRICORE_CPU(cs);
CPUTriCoreState *env = &cpu->env;
- env->PC = tb_pc(tb);
+ tcg_debug_assert(!(cs->tcg_cflags & CF_PCREL));
+ env->PC = tb->pc;
}
static void tricore_restore_state_to_opc(CPUState *cs,