Commit e1bf387ec851e56819e4fdd965bc8bdd67167449
1 parent
78723684
T1 is now dead.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4787 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
3 changed files
with
1 additions
and
7 deletions
target-mips/cpu.h
target-mips/exec.h
... | ... | @@ -12,10 +12,8 @@ register struct CPUMIPSState *env asm(AREG0); |
12 | 12 | |
13 | 13 | #if TARGET_LONG_BITS > HOST_LONG_BITS |
14 | 14 | #define T0 (env->t0) |
15 | -#define T1 (env->t1) | |
16 | 15 | #else |
17 | 16 | register target_ulong T0 asm(AREG1); |
18 | -register target_ulong T1 asm(AREG2); | |
19 | 17 | #endif |
20 | 18 | |
21 | 19 | #if defined (USE_HOST_FLOAT_REGS) | ... | ... |
target-mips/translate.c
... | ... | @@ -423,7 +423,7 @@ enum { |
423 | 423 | }; |
424 | 424 | |
425 | 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 | 428 | /* FPU TNs, global for now. */ |
429 | 429 | static TCGv fpu32_T[3], fpu64_T[3], fpu32h_T[3]; |
... | ... | @@ -8072,11 +8072,8 @@ static void mips_tcg_init(void) |
8072 | 8072 | #if TARGET_LONG_BITS > HOST_LONG_BITS |
8073 | 8073 | cpu_T[0] = tcg_global_mem_new(TCG_TYPE_TL, |
8074 | 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 | 8075 | #else |
8078 | 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 | 8077 | #endif |
8081 | 8078 | |
8082 | 8079 | /* register helpers */ | ... | ... |