Commit e1bf387ec851e56819e4fdd965bc8bdd67167449

Authored by ths
1 parent 78723684

T1 is now dead.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4787 c046a42c-6fe2-441c-8c8c-71466251a162
target-mips/cpu.h
@@ -142,7 +142,6 @@ struct CPUMIPSState { @@ -142,7 +142,6 @@ struct CPUMIPSState {
142 target_ulong PC[MIPS_TC_MAX]; 142 target_ulong PC[MIPS_TC_MAX];
143 #if TARGET_LONG_BITS > HOST_LONG_BITS 143 #if TARGET_LONG_BITS > HOST_LONG_BITS
144 target_ulong t0; 144 target_ulong t0;
145 - target_ulong t1;  
146 #endif 145 #endif
147 /* temporary hack for FP globals */ 146 /* temporary hack for FP globals */
148 #ifndef USE_HOST_FLOAT_REGS 147 #ifndef USE_HOST_FLOAT_REGS
target-mips/exec.h
@@ -12,10 +12,8 @@ register struct CPUMIPSState *env asm(AREG0); @@ -12,10 +12,8 @@ register struct CPUMIPSState *env asm(AREG0);
12 12
13 #if TARGET_LONG_BITS > HOST_LONG_BITS 13 #if TARGET_LONG_BITS > HOST_LONG_BITS
14 #define T0 (env->t0) 14 #define T0 (env->t0)
15 -#define T1 (env->t1)  
16 #else 15 #else
17 register target_ulong T0 asm(AREG1); 16 register target_ulong T0 asm(AREG1);
18 -register target_ulong T1 asm(AREG2);  
19 #endif 17 #endif
20 18
21 #if defined (USE_HOST_FLOAT_REGS) 19 #if defined (USE_HOST_FLOAT_REGS)
target-mips/translate.c
@@ -423,7 +423,7 @@ enum { @@ -423,7 +423,7 @@ enum {
423 }; 423 };
424 424
425 /* global register indices */ 425 /* global register indices */
426 -static TCGv cpu_env, current_tc_gprs, current_tc_hi, current_fpu, cpu_T[2]; 426 +static TCGv cpu_env, current_tc_gprs, current_tc_hi, current_fpu, cpu_T[1];
427 427
428 /* FPU TNs, global for now. */ 428 /* FPU TNs, global for now. */
429 static TCGv fpu32_T[3], fpu64_T[3], fpu32h_T[3]; 429 static TCGv fpu32_T[3], fpu64_T[3], fpu32h_T[3];
@@ -8072,11 +8072,8 @@ static void mips_tcg_init(void) @@ -8072,11 +8072,8 @@ static void mips_tcg_init(void)
8072 #if TARGET_LONG_BITS > HOST_LONG_BITS 8072 #if TARGET_LONG_BITS > HOST_LONG_BITS
8073 cpu_T[0] = tcg_global_mem_new(TCG_TYPE_TL, 8073 cpu_T[0] = tcg_global_mem_new(TCG_TYPE_TL,
8074 TCG_AREG0, offsetof(CPUState, t0), "T0"); 8074 TCG_AREG0, offsetof(CPUState, t0), "T0");
8075 - cpu_T[1] = tcg_global_mem_new(TCG_TYPE_TL,  
8076 - TCG_AREG0, offsetof(CPUState, t1), "T1");  
8077 #else 8075 #else
8078 cpu_T[0] = tcg_global_reg_new(TCG_TYPE_TL, TCG_AREG1, "T0"); 8076 cpu_T[0] = tcg_global_reg_new(TCG_TYPE_TL, TCG_AREG1, "T0");
8079 - cpu_T[1] = tcg_global_reg_new(TCG_TYPE_TL, TCG_AREG2, "T1");  
8080 #endif 8077 #endif
8081 8078
8082 /* register helpers */ 8079 /* register helpers */