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.52 by gbeauche, 2006-05-02T19:33:10Z 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 109 | 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
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 + // 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