Next: Control hazards: summary
Up: Control HazardsBranch Prediction
Previous: Implementation:
- Idea: instead of just the branch target address,
stash the branch target instruction
in the BTB
- Skip IF stage for next instruction
- Effective CPI for branch is zero
- Could stash target instruction for
both taken and not-taken cases to reduce
misprediction delay
Paul H J Kelly
Mon Dec 1 20:07:28 GMT 1997