ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/SheepShaver/src/Unix/sysdeps.h
(Generate patch)

Comparing SheepShaver/src/Unix/sysdeps.h (file contents):
Revision 1.51 by gbeauche, 2006-04-01T21:41:18Z vs.
Revision 1.56 by gbeauche, 2007-02-17T09:01:30Z

# Line 108 | Line 108
108   #define PPC_DECODE_CACHE 1
109   #define PPC_FLIGHT_RECORDER 1
110   #define PPC_PROFILE_COMPILE_TIME 0
111 < #define PPC_PROFILE_GENERIC_CALLS 0
111 > #define PPC_PROFILE_GENERIC_CALLS 1
112 > #define PPC_PROFILE_REGS_USE 0
113   #define KPX_MAX_CPUS 1
114   #if ENABLE_DYNGEN
115   #define PPC_ENABLE_JIT 1
116   #endif
117 < #if defined(__i386__)
117 > #if defined(__i386__) || defined(__x86_64__)
118   #define DYNGEN_ASM_OPTS 1
119   #endif
120   #else
# Line 166 | Line 167 | typedef int64 intptr;
167   #error "Unsupported size of pointer"
168   #endif
169  
170 < /**
171 < *              Helper macros to annotate likely branch directions
172 < **/
172 <
173 < #if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96)
174 < #define likely(x)               __builtin_expect((x),1)
175 < #define unlikely(x)             __builtin_expect((x),0)
176 < #endif
177 < #ifndef likely
178 < #define likely(x)               (x)
179 < #endif
180 < #ifndef unlikely
181 < #define unlikely(x)             (x)
170 > // Define if the host processor supports fast unaligned load/stores
171 > #if defined __i386__ || defined __x86_64__
172 > #define UNALIGNED_PROFITABLE 1
173   #endif
174  
175 +
176   /**
177   *              Helper functions to byteswap data
178   **/

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines