Skip to contentSkip to conversation

Convert gen_lookup_tb not to use cpu_T.

PATCH In review Filip Navara 1 participant 1 message Jul 19, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 7/18 Convert gen_lookup_tb not to use cpu_T.

---
 target-arm/translate.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
target-arm/translate.c +1 -2
index 13c2212..87a6259 100644
@@ -899,8 +899,7 @@ static inline void gen_movl_reg_T1(DisasContext *s, int reg)
 /* Force a TB lookup after an instruction that changes the CPU state.  */
 static inline void gen_lookup_tb(DisasContext *s)
 {
-    gen_op_movl_T0_im(s->pc);
-    gen_movl_reg_T0(s, 15);
+    tcg_gen_movi_i32(cpu_R[15], s->pc & ~1);
     s->is_jmp = DISAS_UPDATE;
 }
 
Signature · 1 line
1.6.3.2.1299.gee46c