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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started