Changeset 13726 in vbox
- Timestamp:
- Oct 31, 2008 7:30:54 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 38695
- Location:
- trunk/src/recompiler_new
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler_new/Makefile.kmk
r13652 r13726 115 115 if1of ($(KBUILD_TARGET), linux darwin solaris) 116 116 # Extra flags for these source modules. 117 target-i386/op-helper.c_CFLAGS.x86 = -O2 -f omit-frame-pointer -fno-strict-aliasing -fno-gcse118 cpu-exec.c_CFLAGS.x86 = -O2 -f omit-frame-pointer -fno-strict-aliasing -fno-gcse119 cpu-exec.c_CFLAGS.solaris.amd64 = -O2 -f omit-frame-pointer -fno-strict-aliasing117 target-i386/op-helper.c_CFLAGS.x86 = -O2 -fno-strict-aliasing -fno-gcse 118 cpu-exec.c_CFLAGS.x86 = -O2 -fno-strict-aliasing -fno-gcse 119 cpu-exec.c_CFLAGS.solaris.amd64 = -O2 -fno-strict-aliasing 120 120 endif 121 121 -
trunk/src/recompiler_new/cpu-exec.c
r13569 r13726 262 262 uint8_t *tc_ptr; 263 263 unsigned long next_tb; 264 265 #ifndef VBOX266 if (cpu_halted(env1) == EXCP_HALTED)267 return EXCP_HALTED;268 #endif269 264 270 265 cpu_single_env = env1; -
trunk/src/recompiler_new/dyngen-exec.h
r13649 r13726 114 114 115 115 #ifdef __i386__ 116 #ifndef VBOX 116 117 #define AREG0 "ebp" 117 118 #define AREG1 "ebx" 118 119 #define AREG2 "esi" 119 120 #define AREG3 "edi" 121 #else 122 #define AREG0 "esi" 123 #define AREG1 "edi" 124 #endif 120 125 #endif 121 126 #ifdef __x86_64__ 122 127 #if defined(VBOX) 123 /* gcc 3.4.3 on 64-bit Solaris screws up when using rbp, it124 seems so at least. (Setting AREG4 to "r15" causes compiler125 error btw, so don't try it.) */126 128 /* Must be in sync with TCG register notion, see tcg-target.h */ 129 #endif 127 130 #define AREG0 "r14" 128 131 #define AREG1 "r15" 129 132 #define AREG2 "r12" 130 133 #define AREG3 "r13" 131 #else132 #define AREG0 "r14"133 #define AREG1 "r15"134 #define AREG2 "r12"135 #define AREG3 "r13"136 #endif137 //#define AREG4 "r14"138 //#define AREG5 "r15"139 134 #endif 140 135 #ifdef __powerpc__
Note:
See TracChangeset
for help on using the changeset viewer.