4 ms·
That's super interesting, thank you for that. Although every time I write an interpreter I'm frustrated that I can't simply pass this information directly to t
by simias 9y ago
That's super interesting, thank you for that.
Although every time I write an interpreter I'm frustrated that I can't simply pass this information directly to the CPU instead of having it guess haphazardly where the indirect branch will lead to. Modern CPUs let us control the prefetcher, why not the branch predictor?
I'm currently working on an MIPS emulator where I can predict the next executed opcode with perfect accuracy, yet I have no way to give this information to the processor and have to rely on the branch predictor to guess right.