Login
Register
@
Dark Mode
Profile
Edit my Profile
Messages
My favorites
Register
Activity
Q&A
Questions
Unanswered
Tags
Subjects
Users
Ask
Previous Years
Blogs
New Blog
Exams
Dark Mode
how many (RAW,WAR,WAW) dependencies exists in the following set of instruction R1<-R2+R3 R3<-R1-R2 R4<-R1+R3 R1<-R1*R3
gate2015
asked
in
CO and Architecture
Jan 26, 2015
retagged
Aug 5, 2017
by
Arjun
1,732
views
1
vote
1
vote
data-dependency
gate2015
asked
in
CO and Architecture
Jan 26, 2015
retagged
Aug 5, 2017
by
Arjun
by
gate2015
1.7k
views
answer
comment
Follow
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
3
votes
3
votes
5 RAW
3 WAR
1 WAW
Anurag_s
answered
Jan 27, 2015
by
Anurag_s
comment
Follow
share this
3 Comments
by
gate2015
commented
Jan 27, 2015
reply
Follow
share this
can we get dependency among non ajacent inst also
0
0
by
Anurag_s
commented
Jan 27, 2015
reply
Follow
share this
Yes you have to consider all the instructions after that instruction, because suppose i1 execution take a lot of cycles so that there is a chance i3 using value of a data dependent register before i1 has completed modifing it.
0
0
by
Deepak Sharma 1
commented
Dec 6, 2015
reply
Follow
share this
shouldn't the answer for RAW = 2 as we only consider the LAST WRITE .??
pls reply
0
0
Please
log in
or
register
to add a comment.
← Previous
Next →
← Previous in category
Next in category →
Related questions
2
votes
2
votes
3
answers
1
sunil sarode
asked
in
CO and Architecture
Sep 28, 2017
3,963
views
Calculate sum of (WAR, RAW and WAW) dependencies instructions.
Consider the following instructions. I 1 : R 1 = 100 I 2 : R 1 = R 2 + R 4 I 3 : R 2 = R 4 + 25 I 4 : R 4 = R 1 + R 3 I 5 : R 1 = R 1 + 30 Calculate sum of (WAR, RAW and WAW) dependencies the above instructions. (a) 10 (c) 6 (b) 12 (d) 8
sunil sarode
asked
in
CO and Architecture
Sep 28, 2017
by
sunil sarode
4.0k
views
data-dependency
data-hazards
1
vote
1
vote
1
answer
2
Swati001
asked
in
CO and Architecture
Jul 29, 2015
1,974
views
I1 : Load R0,3(R1) I2:Sub R3,R0,R4 I3: Mul R5,R0,R6 I4: Div R7,R0,R8 .How many cycles are needed to complete above instruction using RISC pipeline, where all stages take 1 cycle
Swati001
asked
in
CO and Architecture
Jul 29, 2015
by
Swati001
2.0k
views
1
vote
1
vote
1
answer
3
Tuhin Dutta
asked
in
CO and Architecture
Dec 3, 2017
1,707
views
RAW, WAR, WAW hazards
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
Tuhin Dutta
asked
in
CO and Architecture
Dec 3, 2017
by
Tuhin Dutta
1.7k
views
data-hazards
data-dependency
co-and-architecture
hazards
1
vote
1
vote
0
answers
4
rahuldb
asked
in
CO and Architecture
Nov 10, 2016
2,821
views
Write the control sequence for the following instructions of a 3-bus cpu organization MUL R2,R3,R4 // R4= R2*R3
rahuldb
asked
in
CO and Architecture
Nov 10, 2016
by
rahuldb
2.8k
views
co-and-architecture
Subscribe to GATE CSE 2023 Test Series
Subscribe to GO Classes for GATE CSE 2023
Quick search syntax
tags
tag:apple
author
user:martin
title
title:apple
content
content:apple
exclude
-tag:apple
force match
+apple
views
views:100
score
score:10
answers
answers:2
is accepted
isaccepted:true
is closed
isclosed:true
Recent Posts
From GATE to Australia
DRDO Previous Year Papers
From Rank 4200 to 64: My Journey to Success in GATE CSE Exam
What are the key things to focus on during the final 10-15 days before the GATE exam to improve performance?
All India GO Classes Mock test
Subjects
All categories
General Aptitude
(2.5k)
Engineering Mathematics
(9.3k)
Digital Logic
(3.3k)
Programming and DS
(5.9k)
Algorithms
(4.6k)
Theory of Computation
(6.7k)
Compiler Design
(2.3k)
Operating System
(5.0k)
Databases
(4.6k)
CO and Architecture
(3.8k)
Computer Networks
(4.6k)
Non GATE
(1.3k)
Others
(2.4k)
Admissions
(649)
Exam Queries
(842)
Tier 1 Placement Questions
(17)
Job Queries
(74)
Projects
(9)
Unknown Category
(853)
Recent Blog Comments
This guy was just exceptional. I remember hearing...
Inspirational! Found the right Blog at the right...
That was my second attempt. I already had notes,...
Sorry to break the news, but: I see a few flaws...
bhai mujhe bhi bula lo australia......mai bhi...
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy