Re:CPU branch prediction evolution over years
by magicalhippo on Saturday December 31, 2022 @09:35PM
(#34203015)
Also, as I understand it, a big part of the "win" of branch prediction is to ensure those caches are filled.
If you can execute ahead, through branches, you can resolve cache misses while the pipeline catches up, effectively reducing the cache miss penalty. If instead you have to stop at a branch, you're always gonna pay the full cache miss penalty, which can be significant.
If you can execute ahead, through branches, you can resolve cache misses while the pipeline catches up, effectively reducing the cache miss penalty. If instead you have to stop at a branch, you're always gonna pay the full cache miss penalty, which can be significant.