Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The following trace represents the actual outcome of a single branch instruction for a certain program (a) Assume you have 1 bit and 2 bit
The following trace represents the actual outcome of a single branch instruction for a certain program (a) Assume you have 1 bit and 2 bit non-correlating predictors that are initially defaulted to taken and weakly taken, respectively. Fill in the table showing updated predictions and hits/misses for a 1 bit and 2 bit non-correlating predictors. Trace T T F F T FTF F F T F 1-bit hit/miss 2-bit hit/miss WT (6) The following trace was generated for a program in which you want to evaluate a (1,1) branch prediction scheme. The program loops such that the branches are executed in order and continue repeating (i.e., brl -> br2 -> br3 -> bl -> br2 .....). The default prediction value WT/WT for the first branch implies a prior branch was not taken. Fill in the Table below. 1 2 3 4 5 Br1 TTTFF Br2 TFTFF Br3 FTFIT Branch 1 Pred | Actual WT/WT Branch 2 Pred Actual NT/NT Branch 3 Pred Actual NT/NT The following trace represents the actual outcome of a single branch instruction for a certain program (a) Assume you have 1 bit and 2 bit non-correlating predictors that are initially defaulted to taken and weakly taken, respectively. Fill in the table showing updated predictions and hits/misses for a 1 bit and 2 bit non-correlating predictors. Trace T T F F T FTF F F T F 1-bit hit/miss 2-bit hit/miss WT (6) The following trace was generated for a program in which you want to evaluate a (1,1) branch prediction scheme. The program loops such that the branches are executed in order and continue repeating (i.e., brl -> br2 -> br3 -> bl -> br2 .....). The default prediction value WT/WT for the first branch implies a prior branch was not taken. Fill in the Table below. 1 2 3 4 5 Br1 TTTFF Br2 TFTFF Br3 FTFIT Branch 1 Pred | Actual WT/WT Branch 2 Pred Actual NT/NT Branch 3 Pred Actual NT/NT
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started