p->comp_midopt = 0;
p->comp_lowopt = 0;
- for (i = 0;i < 10; i++)
- p->optcount[i] = -1;
- p->optcount[0] = 4; /* How often a block has to be executed before it is translated */
- p->optcount[1] = 0; /* How often to use the naive translation */
- p->optcount[2] = 0;
- p->optcount[3] = 0;
- p->optcount[4] = 0;
- p->optcount[5] = 0;
-
p->gfx_framerate = 1;
p->gfx_autoframerate = 50;
p->gfx_size_fs.width = 800;
static int align_loops = 32; // Align the start of loops
static int align_jumps = 32; // Align the start of jumps
static int optcount[10] = {
+#ifdef UAE
+ 4, // How often a block has to be executed before it is translated
+#else
10, // How often a block has to be executed before it is translated
+#endif
0, // How often to use naive translation
0, 0, 0, 0,
-1, -1, -1, -1
int i;
bi->optlevel=0;
-#ifdef UAE
- bi->count=currprefs.optcount[0]-1;
-#else
bi->count=optcount[0]-1;
-#endif
bi->handler=NULL;
bi->handler_to_use=(cpuop_func*)popall_execute_normal;
bi->direct_handler=NULL;
}
if (bi->count==-1) {
optlev++;
-#ifdef UAE
- while (!currprefs.optcount[optlev])
- optlev++;
- bi->count=currprefs.optcount[optlev]-1;
-#else
while (!optcount[optlev])
optlev++;
bi->count=optcount[optlev]-1;
-#endif
}
current_block_pc_p=(uintptr)pc_hist[0].location;