Question: 2 . 2 A program consists of two nested loops, with asingle branch instruction at the end of each loop andno other branch anywhere. The

2.2 A program consists of two nested loops, with asingle branch instruction at the end of each loop andno other branch anywhere. The outer loop is executed50 times and the inner loop 50 times. Determine theaccuracy of the following three branch predictionstrategies: (a) always predict not taken. (b) use 1 bitof history and the initial prediction is not taken, (c) use2 bits of history assuming that the predictor starts offin the bottom right state from predict not takenwith not taken self loop (6 points

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!