Question

2) Pipelining a) A 5-Stage pipeline is composed of the following stages Instruction Fetch (IF), Decode (DE) Execute (EX), MemA 5-Stage pipeline is composed of the following stages Instruction Fetch (IF), Decode (DE), Execute (EX), Memory Access (ME) and Register Write-back (WB). Assume the pipeline does not have a branch prediction unit, does not have superscalar support and does not support out of order execution. Assume that all memory accesses are in the L1 cache and therefore do not introduce any stalls. Show a pipeline diagram that shows the execution of each stage for the assembly code below. Also specify why each pipeline Stall is introduced. (16 points) addq %rax, (%rbx) subq %rcx, %rax movq $0, %rdx movq $1, %rdx xorq %rsi, (%rbx) movq %rsi, %r10 movq %r10, %r11

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

Arses Fostructions 4 7 1 adday fo Bas IF DE EX MEM LB Suboy NOP NOP IF DE EA HEN WE IF DE EX NEN WR $0%x F DE EX HEM R $1%%JX

Add a comment
Know the answer?
Add Answer to:
A 5-Stage pipeline is composed of the following stages Instruction Fetch (IF), Decode (DE), Execute (EX), Memory Access...
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