Question

Consider the following. load r1, 16(r2) ; S1 addi r4, r4, r1 : S2 addi r10,...

Consider the following.

load r1, 16(r2) ; S1

addi r4, r4, r1 : S2

addi r10, r12, r14 ; S3

bnez r10, target; S4

addi r14, r, r10; S5

store r10, 0(r2); S6

Q. Identify each dependency by type (data, name or control dependency); list the two instructions involved; identify which instruction is dependent; and, if there is one, name the storage location

0 0
Add a comment Improve this question Transcribed image text
Answer #1
Following dependencies are there in given sequence of instructions:
1.Data dependency between s1 and s2
  Dependent: s2
  Storage location: r1
2.Control dependency between s3 and s4
  Dependent: s4
  Storage location: r10
3.Data dependency between s3 and s5
  Dependent: s5
  Storage location: r10
Add a comment
Know the answer?
Add Answer to:
Consider the following. load r1, 16(r2) ; S1 addi r4, r4, r1 : S2 addi r10,...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT