Skip to contentSkip to conversation

[4788] Remove remaining uses of T0 in the MIPS target.

Qemu-devel Thiemo Seufer 1 participant 1 message Jun 24, 2008

lore
Share & tools
lore
#0 lore raw

Revision: 4788

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4788
Author:   ths
Date:     2008-06-24 21:58:35 +0000 (Tue, 24 Jun 2008)

Log Message:
-----------
Remove remaining uses of T0 in the MIPS target.

Modified Paths:
--------------
trunk/target-mips/cpu.h
trunk/target-mips/exec.h
trunk/target-mips/helper.h
trunk/target-mips/op_helper.c
trunk/target-mips/translate.c

Modified: trunk/target-mips/cpu.h
===================================================================

target-mips/cpu.h +0 -3
@@ -140,9 +140,6 @@
     target_ulong gpr[MIPS_SHADOW_SET_MAX][32];
     /* Special registers */
     target_ulong PC[MIPS_TC_MAX];
-#if TARGET_LONG_BITS > HOST_LONG_BITS
-    target_ulong t0;
-#endif
     /* temporary hack for FP globals */
 #ifndef USE_HOST_FLOAT_REGS
     fpr_t ft0;

Modified: trunk/target-mips/exec.h
===================================================================

target-mips/exec.h +0 -6
@@ -10,12 +10,6 @@
 
 register struct CPUMIPSState *env asm(AREG0);
 
-#if TARGET_LONG_BITS > HOST_LONG_BITS
-#define T0 (env->t0)
-#else
-register target_ulong T0 asm(AREG1);
-#endif
-
 #if defined (USE_HOST_FLOAT_REGS)
 #error "implement me."
 #else

Modified: trunk/target-mips/helper.h
===================================================================

target-mips/helper.h +33 -33

73 lines not on this page · raw message

Modified: trunk/target-mips/op_helper.c
===================================================================

target-mips/op_helper.c +35 -34

229 lines not on this page · raw message

Modified: trunk/target-mips/translate.c
===================================================================

target-mips/translate.c +400 -378

2,401 lines not on this page · raw message