Control Hazards
  • A control hazard occurs because the CPU does not know soon enough:
    • whether or not the conditional branch will be taken
    • the target of the transfer of control
  • To avoid stalls the CPU
    • can determine or predict this information earlier
    • can delay the execution of the branch until after the information is known
Chapter 6: Enhancing Performance with Pipelining - 10 of 88