Kill broken host register definitions, thanks to Paul Brook and Herve
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 29 Apr 2007 21:26:37 +0000 (21:26 +0000)
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 29 Apr 2007 21:26:37 +0000 (21:26 +0000)
Poussineau for debugging this.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2747 c046a42c-6fe2-441c-8c8c-71466251a162

target-mips/exec.h
target-mips/mips-defs.h

index cfe69a3..b00263f 100644 (file)
@@ -6,25 +6,18 @@
 #include "config.h"
 #include "mips-defs.h"
 #include "dyngen-exec.h"
+#include "cpu-defs.h"
 
 register struct CPUMIPSState *env asm(AREG0);
 
-#if defined (USE_64BITS_REGS)
-typedef int64_t host_int_t;
-typedef uint64_t host_uint_t;
-#else
-typedef int32_t host_int_t;
-typedef uint32_t host_uint_t;
-#endif
-
 #if TARGET_LONG_BITS > HOST_LONG_BITS
 #define T0 (env->t0)
 #define T1 (env->t1)
 #define T2 (env->t2)
 #else
-register host_uint_t T0 asm(AREG1);
-register host_uint_t T1 asm(AREG2);
-register host_uint_t T2 asm(AREG3);
+register target_ulong T0 asm(AREG1);
+register target_ulong T1 asm(AREG2);
+register target_ulong T2 asm(AREG3);
 #endif
 
 #if defined (USE_HOST_FLOAT_REGS)
index 95b5ef8..414f476 100644 (file)
@@ -1,8 +1,6 @@
 #if !defined (__QEMU_MIPS_DEFS_H__)
 #define __QEMU_MIPS_DEFS_H__
 
-/* If we want to use 64 bits host regs... */
-//#define USE_64BITS_REGS
 /* If we want to use host float regs... */
 //#define USE_HOST_FLOAT_REGS