Commit 01179c382ba7bf8d5b063ca6afaa57c33f813287
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
Showing
2 changed files
with
4 additions
and
13 deletions
target-mips/exec.h
| ... | ... | @@ -6,25 +6,18 @@ |
| 6 | 6 | #include "config.h" |
| 7 | 7 | #include "mips-defs.h" |
| 8 | 8 | #include "dyngen-exec.h" |
| 9 | +#include "cpu-defs.h" | |
| 9 | 10 | |
| 10 | 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 | 13 | #if TARGET_LONG_BITS > HOST_LONG_BITS |
| 21 | 14 | #define T0 (env->t0) |
| 22 | 15 | #define T1 (env->t1) |
| 23 | 16 | #define T2 (env->t2) |
| 24 | 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 | 21 | #endif |
| 29 | 22 | |
| 30 | 23 | #if defined (USE_HOST_FLOAT_REGS) | ... | ... |