#error implementation in progress
#endif
-#ifdef UAE
-/* Temporarily disabled due to some issues on x86-64 */
-#else
/* (gb) When on, this option can save save up to 30% compilation time
* when many lazy flushes occur (e.g. apps in MacOS 8.x).
*/
/* Use code inlining, aka follow-up of constant jumps */
#define USE_INLINING 1
-#endif
/* Inlining requires the chained checksuming information */
#if USE_INLINING
}
if (changed)
- write_log (_T("JIT: cache=%d. b=%d w=%d l=%d fpu=%d nf=%d const=%d hard=%d\n"),
+ write_log (_T("JIT: cache=%d. b=%d w=%d l=%d fpu=%d nf=%d inline=%d hard=%d\n"),
currprefs.cachesize,
currprefs.comptrustbyte, currprefs.comptrustword, currprefs.comptrustlong,
currprefs.compfpu, currprefs.compnf, currprefs.comp_constjump, currprefs.comp_hardflush);
const bool JITDebug = false; // Don't use JIT debug mode at all
#endif
#if USE_INLINING
-static bool follow_const_jumps = true; // Flag: translation through constant jumps
+#ifdef UAE
+#define follow_const_jumps (currprefs.comp_constjump != 0)
+#else
+static bool follow_const_jumps = true; // Flag: translation through constant jumps
+#endif
#else
-const bool follow_const_jumps = false;
+const bool follow_const_jumps = false;
#endif
const uae_u32 MIN_CACHE_SIZE = 1024; // Minimal translation cache size (1 MB)