--- SheepShaver/src/Unix/sysdeps.h 2005/07/03 22:02:01 1.48 +++ SheepShaver/src/Unix/sysdeps.h 2006/07/06 00:01:04 1.54 @@ -90,9 +90,7 @@ #endif // Always use the complete non-stubs Ethernet driver -#if DIRECT_ADDRESSING #define USE_ETHER_FULL_DRIVER 1 -#endif #define POWERPC_ROM 1 @@ -113,11 +111,9 @@ #define PPC_PROFILE_GENERIC_CALLS 0 #define KPX_MAX_CPUS 1 #if ENABLE_DYNGEN -// Don't bother with predecode cache when using JIT #define PPC_ENABLE_JIT 1 -#undef PPC_DECODE_CACHE #endif -#if defined(__i386__) +#if defined(__i386__) || defined(__x86_64__) #define DYNGEN_ASM_OPTS 1 #endif #else @@ -170,6 +166,12 @@ typedef int64 intptr; #error "Unsupported size of pointer" #endif +// Define if the host processor supports fast unaligned load/stores +#if defined __i386__ || defined __x86_64__ +#define UNALIGNED_PROFITABLE 1 +#endif + + /** * Helper functions to byteswap data **/