Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q2 Draw the pipeline diagram (when each instruction is in each stage) and list when forwarding occurs. If forwarding occurs state where the source operand(s)

image text in transcribed

Q2 Draw the pipeline diagram (when each instruction is in each stage) and list when forwarding occurs. If forwarding occurs state where the source operand(s) were forwarded from instead of using the value that was retrieved from the register file. Assume the je is not taken, but predicted to be taken (per the Y86-64 design). If a stall is required state that a stall is required and how many cycles of stall are required. (25 points) main irmovq $256, %rsp irmovq $2, %rdx pushq %rdx irmovq $10, %rbx popq %rax addq %rbx, %rax andq %rax , %rax je label1 addq %rax, %rcx rmmovq %rcx, 8(%rdx) jmp labe12 label1 addq %rcx, %rbx rmmovq %rbs, 16(Xrdx) labe12 halt List the stage (F, D, E. M, w) each instruction is in for each cycle in the table Instruction Forwardin 213141516171819|10|11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 9 13 For forwarding, state whether operands were forwarded (Y or N) and which instruction (number) and stage source (F,D,E,M,W) was received from

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions