<aside> 🐛
Performance requirement for pipelined processors. Importance of accuracy increases with depth and width of pipeline. Basic building block is 2-bit saturating counter

</aside>
Simple strategy assumes branch not taken
“Engagement in risky transactions ont he chance of profit”
Speculative execution: execute before all parameters are known with certainty
Corerct speculation avoids stalls, improves performance
Incorrect speculation- must flush/abort incorrect instructions
Must undo incorrect changes if any

Deal with
Unknown parameter: are these the correct instructions to execute next

Assume Branch: 20%, load 20%, store 10%, other 50% 75% of branches are taken