Question: The code below show a nested loop.intially What is the number of wrong predictions for the branch at the end of the inner loop (loopj)
The code below show a nested loop.intially What is the number of wrong predictions for the branch at the end of the inner loop (loopj) In this cases : For (i=0;i<6;i++) For (j=0;j<10;j++){ } 1- Assume branch dynamically taken Using one bit predictions . 2- Assume branch static taken Using one bit predictions . 3- Assume branch strong taken using 2 bit prdection 4- Assume branch weakly taken using 2 bit prdection 5- Assume branch strong not taken using 2 bit prdection 6- Assume branch weakly not taken using 2 bit prdection
( i need the specific number of miss predictions to each case )
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
