Ask Question
4 April, 13:28

Consider three branch prediction schemes: predict not taken, predict taken, and dynamic prediction. Assume that they all have zero penalties when they predict correctly and two cycles when they are wrong. Assume that the average predict accuracy of the dynamic predictor is 90%. Which predictor is the best choice for the following branches? [1.5 pts]a. A branch that is taken with 5% frequencyb. A branch that is taken with 70% frequencyc. A branch that is taken with 95% frequency

+3
Answers (1)
  1. 4 April, 13:36
    0
    Check the explanation

    Explanation:

    1. When a branch is taken with 5% frequency, the branch prediction scheme is "predict taken" because the process has to begin fetching and then execute at the target address.

    2. When a branch is taken with 95% frequency, the branch prediction scheme is "predict not taken" because the branch outcome is definitely known.

    3. When a branch is taken with 70% frequency, the prediction scheme is "dynamic prediction" the branch prediction can dynamically change during the program execution.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “Consider three branch prediction schemes: predict not taken, predict taken, and dynamic prediction. Assume that they all have zero ...” in 📘 Engineering if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers