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