Answered step by step
Verified Expert Solution
Link Copied!

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.

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

Database And Expert Systems Applications Dexa 2023 Workshops 34th International Conference Dexa 2023 Penang Malaysia August 28 30 2023 Proceedings

Authors: Gabriele Kotsis ,A Min Tjoa ,Ismail Khalil ,Bernhard Moser ,Atif Mashkoor ,Johannes Sametinger ,Maqbool Khan

1st Edition

303139688X, 978-3031396885

More Books

Students also viewed these Databases questions