Question: a) What is MIPS pipeline CPI? (2) b) What is a control hazard? How can we avoid stalling the pipeline some of the times?
a) What is MIPS pipeline CPI? (2) b) What is a control hazard? How can we avoid stalling the pipeline some of the times? What happens if this technique goes wrong? (3) c) Consider executing the following MIPS code on the single pipeline data path with hazard detection and forwarding units. add $5, $6, $7 1w $6, 100 ($7) sub $7, $6, $8 How many cycles will it take to execute this code. Where/When will stalls be inserted? Which values are forwarded? (2+2+1)
Step by Step Solution
There are 3 Steps involved in it
a The MIPS pipeline CPI Cycles Per Instruction is a measure of the average number of clock cycles re... View full answer
Get step-by-step solutions from verified subject matter experts
