Next: ...
Up: Control HazardsBranch Prediction
Previous: Control HazardsBranch Prediction
- Two part solution:
- Determine branch taken or not sooner
- Compute taken branch address earlier
- DLX branch conditions are deliberately simple:
BEQZ, BNEZ
- DLX solution:
- Move zero test to ID stage
- Introduce dedicated adder
in ID stage for calculating
branch target address
- One cycle stall
Paul H J Kelly
Mon Dec 1 20:07:28 GMT 1997