Revision 01d6a890 target-mips/exec.h
b/target-mips/exec.h | ||
---|---|---|
7 | 7 |
#include "mips-defs.h" |
8 | 8 |
#include "dyngen-exec.h" |
9 | 9 |
|
10 |
#if defined(__sparc__) |
|
11 |
struct CPUMIPSState *env; |
|
12 |
#else |
|
10 | 13 |
register struct CPUMIPSState *env asm(AREG0); |
14 |
#endif |
|
11 | 15 |
|
12 | 16 |
#if defined (USE_64BITS_REGS) |
13 | 17 |
typedef int64_t host_int_t; |
... | ... | |
17 | 21 |
typedef uint32_t host_uint_t; |
18 | 22 |
#endif |
19 | 23 |
|
24 |
#if defined(__sparc__) |
|
25 |
host_uint_t T0; |
|
26 |
host_uint_t T1; |
|
27 |
host_uint_t T2; |
|
28 |
#else |
|
20 | 29 |
#if TARGET_LONG_BITS > HOST_LONG_BITS |
21 | 30 |
#define T0 (env->t0) |
22 | 31 |
#define T1 (env->t1) |
... | ... | |
26 | 35 |
register host_uint_t T1 asm(AREG2); |
27 | 36 |
register host_uint_t T2 asm(AREG3); |
28 | 37 |
#endif |
38 |
#endif |
|
29 | 39 |
|
30 | 40 |
#if defined (USE_HOST_FLOAT_REGS) |
31 | 41 |
#error "implement me." |
Also available in: Unified diff