Question: 3 . Consider the following loop: Assume that there is no delay slot and the branch is solved in the ID stage. Also assume that
Consider the following loop:
Assume that there is no delay slot and the branch is solved in the ID stage. Also assume that the loop is iterated for iterations. Assume full data forwarding.
Draw the pipeline diagram for the first iterations.
How many cycles does it take to complete the Instruction sequence?
If one bit branch predictor is used, which is initialized to ie branch not taken how many correct and wrong prediction that it will produce? How long will be the execution time of the above code?
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
