Question: a1 Use the following loop to answer the questions below on Branch Prediction. Assume Loop0 runs 5 times, and Loop1 runs 3 times for each


a1 Use the following loop to answer the questions below on Branch Prediction. Assume Loop0 runs 5 times, and Loop1 runs 3 times for each iteration of Loopo. Loopo: Loopl: BEQ rt, Loopl BEQ rt, Loopo a. What is the percentage of correct predictions if Branch Taken is assumed? b. What is the percentage of correct predictions if Branch Not Taken is assumed? What is the percentage of correct predictions if one bit prediction is assumed? Predictions are defaulted to Branch Taken. c. d. What is the percentage of correct predictions if two bit prediction is assumed? Predictions are defaulted to Predict Taken (Taken, Taken). What is the percentage of correct predictions if two bit prediction is assumed? Predictions are defaulted to Predict not taken (Not Taken, Not Taken e. a1 Use the following loop to answer the questions below on Branch Prediction. Assume Loop0 runs 5 times, and Loop1 runs 3 times for each iteration of Loopo. Loopo: Loopl: BEQ rt, Loopl BEQ rt, Loopo a. What is the percentage of correct predictions if Branch Taken is assumed? b. What is the percentage of correct predictions if Branch Not Taken is assumed? What is the percentage of correct predictions if one bit prediction is assumed? Predictions are defaulted to Branch Taken. c. d. What is the percentage of correct predictions if two bit prediction is assumed? Predictions are defaulted to Predict Taken (Taken, Taken). What is the percentage of correct predictions if two bit prediction is assumed? Predictions are defaulted to Predict not taken (Not Taken, Not Taken e
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
