Question: Answer with good high level explanation please Suppose you had a choice of using one of three different branch prediction schemes: I predict that each
Answer with good high level explanation please
Suppose you had a choice of using one of three different branch prediction schemes:
I predict that each branch is never taken
II predict that each branch is always taken
III use a dynamic predictor that correctly predicts of the time
Scheme I has a onecycle penalty for a misprediction.
Scheme II has a twocycle penalty for a misprediction.
Scheme III has a threecycle penalty for a misprediction.
What is the total number of penalty cycles incurred for each of these schemes by a
conditional branch instruction that executes times and actually branches of
the time?
total penalty cycles for scheme
total penalty cycles for scheme
total penalty cycles for scheme III
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
