Question

1- What is true about the following code sequence: addi x18, x0, 1 addi x19, x0,...

1- What is true about the following code sequence:

addi x18, x0, 1
addi x19, x0, 2
addi x20, x0, 2
addi x21, x0, 4
addi x22, x0, 5

Must stall on the addi results

Can avoid stalls using only forwarding

Can execute without stalling or forwarding

None of the above


2- What is true about the following code sequence:

ld x9, 64(x22)
add x9, x21, x9

Must stall on the ld result

Can avoid stalls using only forwarding

Can execute without stalling or forwarding

None of the above

0 0
Add a comment Improve this question Transcribed image text
Answer #1

1)OPHON-A(Must stall on the addi results)

2)OPHON- (Can avoid stalls using only forwarding)

================================================================

Dear student,if you have any queries just drop a comment below so i can help you regarding the question more.Please upvote the answer.

Add a comment
Know the answer?
Add Answer to:
1- What is true about the following code sequence: addi x18, x0, 1 addi x19, x0,...
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