Question: Problem 3 ( 2 0 points ) . Suppose your code contains a beq instruction in a loop which results in the following branch outcomes:
Problem points Suppose your code contains a beq instruction in a loop which results in the following branch outcomes: T NT NT NT NT T NT T NT T where T means taken and NT means not taken. a What is the accuracy of a static branch predictor that always predicts that the branch is not taken? b What will be the accuracy of a bit branch predictor, assuming it starts with a T prediction? c What will be the accuracy of a twobit predictor assuming that the predictor starts off in the strongly taken state?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
