Reply 40 of 48, by TeaRex
wrote:Yep. Emulation does a lot of the thing that the p4 is weak at; lots of jumping around; which causes mispredictions, that in turn flushes the pipeline. The longer pipeline, the the longer the delay, and the p4's pipeline is very long.
That's probably the reason why DOSBox profits so much from compiling it with Profile Guided Optimization (-fprofile-generate, -fprofile-use in GCC 4.x)
tearex