closed by
602 views
3 votes
3 votes
closed with the note: Got it .

Is there any difference in calculating data hazards and dependencies?

Doubt 1:I've read that in data dependencies calculation we chose adjacent instructions only? IS THIS TRUE.

Doubt 2:Calculation of RAW,WAR,WAW hazards include all instructions as a whole not only adjacent.IS THIS TRUE

There are many sources which are confusing

Please Explain how to calculate dependencies and hazards.

closed by

Related questions

0 votes
0 votes
1 answer
1
3 votes
3 votes
2 answers
2
gauravkc asked Jan 24, 2018
1,153 views
R1 <- R1+R2R2 <- R3*R4R3 <- R4-R1R2 <- R3+R4Can someone point out hazards. Thanks :)
0 votes
0 votes
0 answers
3
Na462 asked Nov 14, 2018
763 views
2 votes
2 votes
1 answer
4
Mk Utkarsh asked Oct 23, 2018
2,252 views
Consider the below instructions executed on a 5 stage(IF,ID,EX,MA,WB) RISC pipeline with operand forwarding.I1: ADD R0,R1,R2 (R0=R1+R2)I2: SUB R3,R0,R2I3:MUL R4,R3,R0I4:D...