Question: Spot all data dependencies (including ones that do not lead to stalls). Draw arrows from the stages where data is made available, directed to where
Spot all data dependencies (including ones that do not lead to stalls). Draw arrows from the stages where data is made available, directed to where it is needed. Circle the involved registers in the instructions. Assuming that our hardware provides forwarding.
How many stalls will we have to add to the pipeline to resolve the hazards?

How many stalls will we have to add to the pipeline to resolve the hazards? time rightarrow addi $t0 $t1 100 F D A M W lw $t2 4($t0) F D A M W add $t3 $t1 $t2 F D A M W sw $t3 8($t0) F D A M W lw $t5 0($t6) F D A M W or $t5 $t0 $t3 F D A M W
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
