mirror of https://github.com/xqemu/xqemu.git
target-arm: convert gen_lookup_tb not to use cpu_T
Signed-off-by: Filip Navara <filip.navara@gmail.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
2fbac54be0
commit
a6445c52aa
|
@ -898,8 +898,7 @@ static inline void gen_movl_reg_T1(DisasContext *s, int reg)
|
||||||
/* Force a TB lookup after an instruction that changes the CPU state. */
|
/* Force a TB lookup after an instruction that changes the CPU state. */
|
||||||
static inline void gen_lookup_tb(DisasContext *s)
|
static inline void gen_lookup_tb(DisasContext *s)
|
||||||
{
|
{
|
||||||
gen_op_movl_T0_im(s->pc);
|
tcg_gen_movi_i32(cpu_R[15], s->pc & ~1);
|
||||||
gen_movl_reg_T0(s, 15);
|
|
||||||
s->is_jmp = DISAS_UPDATE;
|
s->is_jmp = DISAS_UPDATE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue