Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question 3. Given the following MIPS sequence executed in a 5-stage pipeline MIPS processors (IF, ID, EXE, MEM, WB): sub $2, $1, $3 and $12,
Question 3. Given the following MIPS sequence executed in a 5-stage pipeline MIPS processors (IF, ID, EXE, MEM, WB): sub $2, $1, $3 and $12, $2, $5 or $13, $6, $2 add $14, $2, $2 SW $15,100 ($2) a. If only the stall insertion method is used for data hazards, what is execution time of the sequence of instructions in term of cycles? b. What is the average CPI of the above sequence when only the stall insertion method is used for data hazard? c. When both the forwarding method and the stall insertion method are used, what is the speed-up compared to stall insertion
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