219 views
1 1 vote

1 Answer

0 0 votes

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.  

Position:
Show:

Related questions

1 1 vote
1 1 answer
210
210 views
1 1 vote
3 answers 3 answers
906
906 views
Bikram asked Nov 25, 2016
906 views
Consider the following program segment for a CPU having three Registers $R1, R2,$ and $R3$:$$ \begin{array}{|l|l|l|} \hline \text{Instruction} & \text{Operation} & \text{...