Revision e9b34b37 target-ppc/cpu.h
b/target-ppc/cpu.h | ||
---|---|---|
28 | 28 |
#if defined (TARGET_PPC64) |
29 | 29 |
/* PowerPC 64 definitions */ |
30 | 30 |
typedef uint64_t ppc_gpr_t; |
31 |
#define TARGET_GPR_BITS 64 |
|
32 | 31 |
#define TARGET_LONG_BITS 64 |
33 | 32 |
#define TARGET_PAGE_BITS 12 |
34 | 33 |
|
... | ... | |
41 | 40 |
* the compiler to do unuseful masking in the micro-ops. |
42 | 41 |
*/ |
43 | 42 |
typedef uint64_t ppc_gpr_t; |
44 |
#define TARGET_GPR_BITS 64 |
|
45 | 43 |
#else /* (HOST_LONG_BITS >= 64) */ |
46 | 44 |
typedef uint32_t ppc_gpr_t; |
47 |
#define TARGET_GPR_BITS 32 |
|
48 | 45 |
#endif /* (HOST_LONG_BITS >= 64) */ |
49 | 46 |
|
50 | 47 |
#define TARGET_LONG_BITS 32 |
Also available in: Unified diff