Revision 01179c38 target-mips/exec.h
b/target-mips/exec.h | ||
---|---|---|
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) |
Also available in: Unified diff