Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Consider the 5-stage pipeline design we discussed in the lecture, shown in Figure 1, without forwarding paths. Optimize execution time by re-ordering instructions and then
Consider the 5-stage pipeline design we discussed in the lecture, shown in Figure 1, without forwarding paths. Optimize execution time by re-ordering instructions and then insert the minimum number of required NOPs into the instruction stream. The re-ordering must be correct, i.e. not change the output result of the code when applying transformations. Calculate the average CPI of this code, assuming a CPI of one for all instructions. Assume that registers from the register file can be written and read in the same cycle.
Figure : 15 -stage Pipeline without forwardingStep 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