RAW- Read-After-Write Dependencies
WAR-Write-After-Read Dependencies
Two types of dependencies that effect the pipelined-execution in the computer system,
we need to check the consequent instructions for such dependencies.
WAR- I2 and I3 (R1); I2 and I5 (R3)
RAW- I1 and I2(R1); I2 and I3(R2); I3 and I4(R1); I3 and I5(R1); I2 and I5(R2); I5 and I6 (R3)
Total= WAR (2) + RAW (6)
= 8.
Whenever the dependencies occur, stall might be possible in-between the pipelined-execution, leading in degradation of system performance.