Commit ecbfbbf4eb63db848da894e419296cf1fb5994e4

Authored by Filip Navara
1 parent ff8ef2a8

Convert gen_lookup_tb not to use cpu_T.

Signed-off-by: Filip Navara <filip.navara@gmail.com>
Showing 1 changed file with 1 additions and 2 deletions
target-arm/translate.c
... ... @@ -899,8 +899,7 @@ static inline void gen_movl_reg_T1(DisasContext *s, int reg)
899 899 /* Force a TB lookup after an instruction that changes the CPU state. */
900 900 static inline void gen_lookup_tb(DisasContext *s)
901 901 {
902   - gen_op_movl_T0_im(s->pc);
903   - gen_movl_reg_T0(s, 15);
  902 + tcg_gen_movi_i32(cpu_R[15], s->pc & ~1);
904 903 s->is_jmp = DISAS_UPDATE;
905 904 }
906 905  
... ...