qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 4/5] Make cpu_T TCG variables truly temporary.
@ 2009-07-15 12:29 Filip Navara
  0 siblings, 0 replies; only message in thread
From: Filip Navara @ 2009-07-15 12:29 UTC (permalink / raw)
  To: qemu-devel

Signed-off-by: Filip Navara <filip.navara@gmail.com>

---
 target-arm/translate.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/target-arm/translate.c b/target-arm/translate.c
index 063d820..30f55f7 100644
--- a/target-arm/translate.c
+++ b/target-arm/translate.c
@@ -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();
-- 
1.6.3.msysgit.0

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-07-15 12:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-15 12:29 [Qemu-devel] [PATCH 4/5] Make cpu_T TCG variables truly temporary Filip Navara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).