📗 -> 03/12/25: ECS154A-L27


✒️ -> Scratch Notes

Transclude of ECS154A-L27-2025-03-15-14.46.40.excalidraw

Control Hazards:

Jumps, If’s, generally changing the PC

We can try to address this by predicting

Branch Prediction

  • Need prediction direction
  • Need branch target address (BTA)
  • Two types:
    1. Static Prediction - Do it ahead of time. IE predict a branch will/won’t be taken beforehand. Could be helpful for things like looping, where you might have to repeat a lot.
      • 53% accurate
    2. Dynamic Prediction
      • Very effective (>90% accurate)
      • Very expensive, more hardware
  • Speculative execution

3-issue machine, 5-stage pipeline

  • 15 instructions

🧪 -> Refresh the Info

Did you generally find the overall content understandable or compelling or relevant or not, and why, or which aspects of the reading were most novel or challenging for you and which aspects were most familiar or straightforward?)

Did a specific aspect of the reading raise questions for you or relate to other ideas and findings you’ve encountered, or are there other related issues you wish had been covered?)

Resources

  • Put useful links here

Connections

  • Link all related words