First post, by ih8registrations
This may interest some(I'm glad you liked it), insence others(take your meds), whatever the case, here it is:
http://sourceforge.net/tracker/index.php?func … 551&atid=467234
$ patch -p0 < opt.diff
patching file `src/cpu/core_dyn_x86/risc_x86.h'
patching file `src/gui/render_scalers.cpp'
patching file `src/gui/render_templates.h'
patching file `src/hardware/gus.cpp'
patching file `src/hardware/mpu401.cpp'
patching file `src/hardware/ymf262.c'
Depending, some stuff is 2x like gus handling, major speed up for some functions(gen_lea near 2x, finddynreg is 20%), etc, etc, but overall it's just 3-4% speed gain by my measuring. Note though, I'm cpu bound & finddynreg passes the normalxxx video routines as big-o once cycles pass 13-16k or so, varies depending which renderer is used, so guys with beefier cpus that can handle higher cycle settings should actually see more improvement(I know, I know, not fair that the guys with beefier systems get a bigger benefit:). There's also some code clean up so some things are more readable, simplified, reduced. Have a look-see.
feh, win to unix borked some of the indention so not as perty as it should be pa.
diff /w fixed bug in gus handling is optfix.diff