in CO and Architecture
1,714 views
1 vote
1 vote
J1: R1 = 100

J2: R1 = R2 + R4

J3: R2 = R4 + 25

J4: R4 = R1 + R3

J5: R1 = R1 + 30

Give the no of RAW, WAR and WAW hazards
in CO and Architecture
1.7k views

4 Comments

edited by
@srivivek95 Please explain  why not

J1-J4 and J1- J5 in RAW, and

J1-J5 in WAW
0
0

@Tuhin Dutta Sir, whats the answer?

RAW = 2 or RAW = 4?

0
0
RAW dependencies =4

WAR dependencies =4

WAW dependencies =3

Total=11
0
0

1 Answer

0 votes
0 votes
remember one thing,these hazards take place only btw 2 adjacent instructions

Related questions