Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Read the instructions and fill in the table for the pipeline diagram for this snippet of Y86 Code. Please do not copy the answer from
Read the instructions and fill in the table for the pipeline diagram for this snippet of Y86 Code. Please do not copy the answer from a previous chegg question as it is incorrect.
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 fromStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started