Question: Problem #3 (a) Compare and contrast the static and dynamic branch predictors. Which pipeline hazards branch predictor addresses and how it addresses it? Be specific

Problem #3 (a) Compare and contrast the static and dynamic branch predictors. Which pipeline hazards branch predictor addresses and how it addresses it? Be specific in your response. (b) What is a Branch Prediction Buffer (BPB) or Branch History Table (BHT), what is it used for, and what is stored in it? Be specific in your answer. (c) What is a Branch Target Buffer (BTB), what is it used for, and what is stored in it? Be specific in your answer. (d) Assume that a branch has the following sequence of actual outcomes, where T means branch is taken and N means branch is not taken (T): N, T, N, N, T, T, T, N What are the prediction accuracies for a 1-bit predictor and a 2-bit predictor for the above branch sequence if the 1-bit predictor starts off in the Taken state and 2-bit predictor in the bottom right state (predict not taken) for a 2-bit predictor? Show all your work to get full credit.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!