3 ms·
a pipeline flush and unprefetched instruction fetch on each branch (20-25% of insns) would dramatically slow down the CPU. With branch prediction you can potent
by fulafel 9y ago
a pipeline flush and unprefetched instruction fetch on each branch (20-25% of insns) would dramatically slow down the CPU. With branch prediction you can potentially have correctly predicted branches take zero cycles, even without speculative execution.
- blattimwind 9y agoUsing a branch predictor to start execution of a branch is speculative execution.
- fulafel 9y agoIn established computer architecture terminology, speculative execution is reserved for speculating past branches. (Speculation meaning something that may not pan out...)