Question: A program consists of two nested loops, with a single branch instruction at the end of each loop and no other branch anywhere. The outer
A program consists of two nested loops, with a single branch instruction at the end of each loop and no other branch anywhere. The outer loop is executed times and the inner loop times. Determine the accuracy of the following three branch prediction strategies: a always predict not taken. b use bit of history and the initial prediction is not taken, c use bits of history assuming that the predictor starts off in the bottom left state from predict not taken with not taken self loop
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
