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
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