Make cpu_T TCG variables truly temporary.
PATCH 4/5 Make cpu_T TCG variables truly temporary.
Signed-off-by Filip Navara <[email protected]>
--- target-arm/translate.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-)
target-arm/translate.c +2 -3
@@ -98,9 +98,6 @@ void arm_translate_init(void) cpu_env =tcg_global_reg_new_ptr (TCG_AREG0 ,"env" ); - cpu_T[0 ] =tcg_global_reg_new_i32 (TCG_AREG1 ,"T0" ); - cpu_T[1 ] =tcg_global_reg_new_i32 (TCG_AREG2 ,"T1" ); -for (i =0 ; i <16 ; i++) { cpu_R[i] =tcg_global_mem_new_i32 (TCG_AREG0 , offsetof(CPUState, regs[i]),
@@ -8732,6 +8729,8 @@ static inline void gen_intermediate_code_internal(CPUState *env, dc->user = (env->uncached_cpsr & 0x1f) == ARM_CPU_MODE_USR; }#endif + cpu_T[0 ] =tcg_temp_new_i32 (); + cpu_T[1 ] =tcg_temp_new_i32 (); cpu_F0s =tcg_temp_new_i32 (); cpu_F1s =tcg_temp_new_i32 (); cpu_F0d =tcg_temp_new_i64 ();
Signature · 1 line
1.6.3.msysgit.0