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.48 by gbeauche, 2005-07-03T22:02:01Z vs.
Revision 1.58 by asvitkine, 2008-06-20T00:50:33Z

# Line 1 | Line 1
1   /*
2   *  sysdeps.h - System dependent definitions for Linux
3   *
4 < *  SheepShaver (C) 1997-2005 Christian Bauer and Marc Hellwig
4 > *  SheepShaver (C) 1997-2008 Christian Bauer and Marc Hellwig
5   *
6   *  This program is free software; you can redistribute it and/or modify
7   *  it under the terms of the GNU General Public License as published by
# Line 90 | Line 90
90   #endif
91  
92   // Always use the complete non-stubs Ethernet driver
93 #if DIRECT_ADDRESSING
93   #define USE_ETHER_FULL_DRIVER 1
95 #endif
94  
95   #define POWERPC_ROM 1
96  
# Line 111 | Line 109
109   #define PPC_FLIGHT_RECORDER 1
110   #define PPC_PROFILE_COMPILE_TIME 0
111   #define PPC_PROFILE_GENERIC_CALLS 0
112 + #define PPC_PROFILE_REGS_USE 0
113   #define KPX_MAX_CPUS 1
114   #if ENABLE_DYNGEN
116 // Don't bother with predecode cache when using JIT
115   #define PPC_ENABLE_JIT 1
118 #undef  PPC_DECODE_CACHE
116   #endif
117 < #if defined(__i386__)
117 > #if defined(__i386__) || defined(__x86_64__)
118   #define DYNGEN_ASM_OPTS 1
119   #endif
120   #else
# Line 170 | Line 167 | typedef int64 intptr;
167   #error "Unsupported size of pointer"
168   #endif
169  
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