Question: Assume a piece of code which executes two branches b 1 and b 2 in alternating sequence ( i . e . b 1 ,
Assume a piece of code which executes two branches b and b in alternating sequence ie bbbbbbdots dots The first six actual outcomes of b and b are as shown below:
b: TNT TNT T T
b: T NT T NT T T
Assume that a simple bit predictor is used. All entries of predictor are initialized to and there is no aliasing in BHT The two bits of BHT are adjusted as shown on the state diagram below. Draw a table as shown below in your answer sheet and show the predictions made for each execution of the branches. Show your work.
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
