Question: Given a program with the following repeating pattern ( e . g . , a loop ) of branch outcomes: NT , T , NT
Given a program with the following repeating pattern eg a loop of branch outcomes: NT T NT T NTTbranch taken, NTbranch not taken
A What is the accuracy score card" in pptx of the bit predictor for the given sequence of branch outcomes, provided we encounter this branch outcome sequence only once? Assume that the predictor starts off in the "Not Taken" state NT
Options for A are or
B Using the bit predictor for the given sequence of branch outcomes: NT T NT T NT what is are the worst choices for the starting state choose from ST WT WNT and SNT
Hint: Compute the score cards for each different starting state SNT WNT WT ST and then compute and compare the accuracy.
Options for B are SNT WNT WT or ST
C What is the overall accuracy of the bit predictor if the given pattern is repeated forever? ie T T NT T NT T T NT T NT to infinity and beyond? Assume that the predictor starts the first iteration in the "Weakly Taken" state WT Subsequent iterations continue from the branch predictor state at the end of the previous iteration.
Options for C are or
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
