Commit 01179c382ba7bf8d5b063ca6afaa57c33f813287

Authored by ths
1 parent c631c88c

Kill broken host register definitions, thanks to Paul Brook and Herve

Poussineau for debugging this.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2747 c046a42c-6fe2-441c-8c8c-71466251a162
target-mips/exec.h
@@ -6,25 +6,18 @@ @@ -6,25 +6,18 @@
6 #include "config.h" 6 #include "config.h"
7 #include "mips-defs.h" 7 #include "mips-defs.h"
8 #include "dyngen-exec.h" 8 #include "dyngen-exec.h"
  9 +#include "cpu-defs.h"
9 10
10 register struct CPUMIPSState *env asm(AREG0); 11 register struct CPUMIPSState *env asm(AREG0);
11 12
12 -#if defined (USE_64BITS_REGS)  
13 -typedef int64_t host_int_t;  
14 -typedef uint64_t host_uint_t;  
15 -#else  
16 -typedef int32_t host_int_t;  
17 -typedef uint32_t host_uint_t;  
18 -#endif  
19 -  
20 #if TARGET_LONG_BITS > HOST_LONG_BITS 13 #if TARGET_LONG_BITS > HOST_LONG_BITS
21 #define T0 (env->t0) 14 #define T0 (env->t0)
22 #define T1 (env->t1) 15 #define T1 (env->t1)
23 #define T2 (env->t2) 16 #define T2 (env->t2)
24 #else 17 #else
25 -register host_uint_t T0 asm(AREG1);  
26 -register host_uint_t T1 asm(AREG2);  
27 -register host_uint_t T2 asm(AREG3); 18 +register target_ulong T0 asm(AREG1);
  19 +register target_ulong T1 asm(AREG2);
  20 +register target_ulong T2 asm(AREG3);
28 #endif 21 #endif
29 22
30 #if defined (USE_HOST_FLOAT_REGS) 23 #if defined (USE_HOST_FLOAT_REGS)
target-mips/mips-defs.h
1 #if !defined (__QEMU_MIPS_DEFS_H__) 1 #if !defined (__QEMU_MIPS_DEFS_H__)
2 #define __QEMU_MIPS_DEFS_H__ 2 #define __QEMU_MIPS_DEFS_H__
3 3
4 -/* If we want to use 64 bits host regs... */  
5 -//#define USE_64BITS_REGS  
6 /* If we want to use host float regs... */ 4 /* If we want to use host float regs... */
7 //#define USE_HOST_FLOAT_REGS 5 //#define USE_HOST_FLOAT_REGS
8 6