Question: A program consists of two nested loops, with a branch instruction at the end of each loop and no other branch instruction anywhere. The outer
A program consists of two nested loops, with a branch instruction at the end of each loop and no other branch instruction anywhere. The outer loop is executed 10 times and the inner loop 20 times. Determine the prediction accuracy percentage for the two prediction strategies:
(a) always predict branch not taken,
(b) always predict branch taken.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
