First post, by ih8registrations
Howdy ho,
Apply from root dosbox directory "patch -p0 < optimize.diff".
Optimizations to normal_loop, some pic routines, and a little touch up to the mixer handler. ie. speedup isn't cpu core specific.
Rearrangment for fallthrough to the most common paths and ridding of jumps mainly.
Timed with rdtsc and just used variables to track common paths.
Enjoy!
Oh yeah, speed up is relative to an athlon xp /w 256k l2, so something like an athlon 64 may not see as much an improvement since it handles thrashing better.