Dependence requiring stall
|
LW
R1
, 45(R2)
ADD R5,
R1
, R7
|
Comparators detect the use of R1 and stall the ADD before EX.
|
Dependence overcome by forwarding
|
LW
R1
, 45(R2)
ADD R5, R6, R7
SUB R8,
R1
, R7
|
Comparators detect use of R1 in SUB and forward result of load to ALU.
|