21 |
|
#ifndef SYSDEPS_H |
22 |
|
#define SYSDEPS_H |
23 |
|
|
24 |
+ |
#ifdef __POWERPC__ |
25 |
+ |
#define NO_STD_NAMESPACE |
26 |
+ |
#endif |
27 |
+ |
|
28 |
|
#include <assert.h> |
29 |
|
#include <support/SupportDefs.h> |
30 |
|
#include <support/ByteOrder.h> |
73 |
|
typedef uae_u32 uaecptr; |
74 |
|
#define VAL64(a) (a ## LL) |
75 |
|
#define UVAL64(a) (a ## uLL) |
76 |
+ |
typedef uint32 uintptr; |
77 |
+ |
typedef int32 intptr; |
78 |
|
|
79 |
|
// UAE CPU defines |
80 |
|
#ifdef __i386__ |
97 |
|
#endif |
98 |
|
|
99 |
|
#define X86_ASSEMBLY |
100 |
+ |
#define UNALIGNED_PROFITABLE |
101 |
+ |
#define OPTIMIZED_FLAGS |
102 |
|
#define ASM_SYM_FOR_FUNC(a) __asm__(a) |
103 |
|
#define REGPARAM __attribute__((regparm(3))) |
104 |
|
|
111 |
|
static inline void do_put_mem_word(uae_u16 *a, uae_u32 v) {*a = v;} |
112 |
|
|
113 |
|
#undef X86_ASSEMBLY |
114 |
+ |
#define UNALIGNED_PROFITABLE |
115 |
+ |
#undef OPTIMIZED_FLAGS |
116 |
|
#define ASM_SYM_FOR_FUNC(a) |
117 |
|
#define REGPARAM |
118 |
|
#endif |