Question: Some branch instructions are much more predictable than others. If we know that 80% of all executed branch instructions are easy-to-predict loop-back branches that are

Some branch instructions are much more predictable than others. If we know that 80% of all executed branch instructions are easy-to-predict loop-back branches that are always predicted correctly, what is the accuracy of the 2-bit predictor on the remaining 20% of the branch instructions?


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:a. b. a. R-Type b. 40% 60% BEQ 45% 65% 25% 8% Also, assume the following branch predictor accuracies:

a. b. a. R-Type b. 40% 60% BEQ 45% 65% 25% 8% Also, assume the following branch predictor accuracies: Always-Taken JMP 5% 2% Always-Not-Taken 55% 35% LW 25% 20% 2-Bit 85% 98% SW 5% 10%

Step by Step Solution

3.41 Rating (160 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Using the data we have lets determine the total branch predictor accuracy for each instruction combi... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Computer Organization Design Questions!