CSE 502: Computer Architecture Branch Prediction

CSE 502: Computer Architecture Branch Prediction
1 / 1
CSE 502: Computer Architecture Branch Prediction - slide 1 of 58 CSE 502: Computer Architecture Branch Prediction - slide 2 of 58 CSE 502: Computer Architecture Branch Prediction - slide 3 of 58 CSE 502: Computer Architecture Branch Prediction - slide 4 of 58 CSE 502: Computer Architecture Branch Prediction - slide 5 of 58 CSE 502: Computer Architecture Branch Prediction - slide 6 of 58 CSE 502: Computer Architecture Branch Prediction - slide 7 of 58 CSE 502: Computer Architecture Branch Prediction - slide 8 of 58 CSE 502: Computer Architecture Branch Prediction - slide 9 of 58 CSE 502: Computer Architecture Branch Prediction - slide 10 of 58 CSE 502: Computer Architecture Branch Prediction - slide 11 of 58 CSE 502: Computer Architecture Branch Prediction - slide 12 of 58 CSE 502: Computer Architecture Branch Prediction - slide 13 of 58 CSE 502: Computer Architecture Branch Prediction - slide 14 of 58 CSE 502: Computer Architecture Branch Prediction - slide 15 of 58 CSE 502: Computer Architecture Branch Prediction - slide 16 of 58 CSE 502: Computer Architecture Branch Prediction - slide 17 of 58 CSE 502: Computer Architecture Branch Prediction - slide 18 of 58 CSE 502: Computer Architecture Branch Prediction - slide 19 of 58 CSE 502: Computer Architecture Branch Prediction - slide 20 of 58 CSE 502: Computer Architecture Branch Prediction - slide 21 of 58 CSE 502: Computer Architecture Branch Prediction - slide 22 of 58 CSE 502: Computer Architecture Branch Prediction - slide 23 of 58 CSE 502: Computer Architecture Branch Prediction - slide 24 of 58 CSE 502: Computer Architecture Branch Prediction - slide 25 of 58 CSE 502: Computer Architecture Branch Prediction - slide 26 of 58 CSE 502: Computer Architecture Branch Prediction - slide 27 of 58 CSE 502: Computer Architecture Branch Prediction - slide 28 of 58 CSE 502: Computer Architecture Branch Prediction - slide 29 of 58 CSE 502: Computer Architecture Branch Prediction - slide 30 of 58 CSE 502: Computer Architecture Branch Prediction - slide 31 of 58 CSE 502: Computer Architecture Branch Prediction - slide 32 of 58 CSE 502: Computer Architecture Branch Prediction - slide 33 of 58 CSE 502: Computer Architecture Branch Prediction - slide 34 of 58 CSE 502: Computer Architecture Branch Prediction - slide 35 of 58 CSE 502: Computer Architecture Branch Prediction - slide 36 of 58 CSE 502: Computer Architecture Branch Prediction - slide 37 of 58 CSE 502: Computer Architecture Branch Prediction - slide 38 of 58 CSE 502: Computer Architecture Branch Prediction - slide 39 of 58 CSE 502: Computer Architecture Branch Prediction - slide 40 of 58 CSE 502: Computer Architecture Branch Prediction - slide 41 of 58 CSE 502: Computer Architecture Branch Prediction - slide 42 of 58 CSE 502: Computer Architecture Branch Prediction - slide 43 of 58 CSE 502: Computer Architecture Branch Prediction - slide 44 of 58 CSE 502: Computer Architecture Branch Prediction - slide 45 of 58 CSE 502: Computer Architecture Branch Prediction - slide 46 of 58 CSE 502: Computer Architecture Branch Prediction - slide 47 of 58 CSE 502: Computer Architecture Branch Prediction - slide 48 of 58 CSE 502: Computer Architecture Branch Prediction - slide 49 of 58 CSE 502: Computer Architecture Branch Prediction - slide 50 of 58 CSE 502: Computer Architecture Branch Prediction - slide 51 of 58 CSE 502: Computer Architecture Branch Prediction - slide 52 of 58 CSE 502: Computer Architecture Branch Prediction - slide 53 of 58 CSE 502: Computer Architecture Branch Prediction - slide 54 of 58 CSE 502: Computer Architecture Branch Prediction - slide 55 of 58 CSE 502: Computer Architecture Branch Prediction - slide 56 of 58 CSE 502: Computer Architecture Branch Prediction - slide 57 of 58 CSE 502: Computer Architecture Branch Prediction - slide 58 of 58
CSE 502: Computer Architecture Branch Prediction Toxonomy of Branches Direction: Conditional vs. Unconditional Target: PC-encoded PC-relative Absolute offset Computed (target derived from register) Need direction and target to find next

Related Topics

Download this presentation From Below

"CSE 502: Computer Architecture Branch Prediction" is the property of its rightful owner. Permission is granted to download and print the materials on this website for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.

Presentation Transcript

01
CSE 502: Computer Architecture Branch Prediction<br>
02
Toxonomy of Branches Direction:
Conditional vs. Unconditional
Target:
PC-encoded
PC-relative
Absolute offset
Computed (target derived from register) Need direction and target to find next fetch group<br>
03
Branch Prediction Overview Use two hardware predictors
Direction predictor guesses if branch is taken or not-taken
Target predictor guesses the destination PC
Predictions are based on history
Use previous behavior as indication of future behavior
Use historical context to disambiguate predictions<br>