Next: ... Up: Ch03 Previous: ...

Control Hazards, Branch Prediction

 

tabular736

A taken branch could cause a three-cycle delay in the DLX pipeline - two stalls and a repeated IF:

Even if the branch is not taken, we still suffer one stall.

Branches are common - 10% - 20%

(H&P pp.161)





Paul H J Kelly Mon Dec 1 20:07:28 GMT 1997