Home /
Expert Answers /
Computer Science /
the-importance-of-having-a-good-branch-predictor-depends-on-how-often-conditional-branches-are-exe-pa427
(Solved):
The importance of having a good branch predictor depends on how often conditional branches are exe ...
The importance of having a good branch predictor depends on how often conditional branches are executed. Together with branch predictor accuracy, this will determine how much time is spent stalling due to mispredicted branches. In this exercise, assume that the breakdown of dynamic instructions into various instruction categories is as follows: Also, assume the following branch predictor accuracies: (a) Stall cycles due to mispredicted branches increase the CPI. What is the extra CPI due to mispredicted branches with the always-taken predictor? Assume that branch outcomes are determined in the ID stage and applied in the EX stage that there are no data hazards, and that no delay slots are used.