Question: Assume a piece of code which executes two branches b 1 and b 2 in altemating sequence ( i . e . b 1 ,
Assume a piece of code which executes two branches b and b in altemating sequence ie bbbbbb The first six actual outcomes of bl and b are as shown below:
b: NTT NTT NT NT
: NTT NTT NT NT
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.tableb actual,NTTNTTNTNTb predicted,,,,,,b actual,NTTNTTNTNTb predicted,,,,,,
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
