3. Assume that the following is the outcome of a particular branch when executed:
(a) NT, NT, NT, NT, NT, T (actual)
What is the percentage of misprediction for a 2-bit predictor with initial value 11? Check FSM of 2-
bit predictor****
00-strongly not taken, 01 weakly not taken, 10- weakly taken, 11- strongly taken.
(b) X0= 0
ADDI
X1,X0,X0
ADDI
X2, X0, X0
L2:
ADDI
X2, X2, (1)10
SUBI
X3, X2, (3)10
--
Branch 0
BNE
X3, X0, L2
What is the percentage of misprediction for branch 0 for a 2-bit predictor with initial value 00?