Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 5: Consider a pipeline with the following stages and latencies (in ps): Consider the following code is run on the processor with the pipeline

image text in transcribed

Question 5: Consider a pipeline with the following stages and latencies (in ps): Consider the following code is run on the processor with the pipeline described above: addi $r4, Szero, 100 loop: lw Sr0,0(Sr1) addi $r1,Sr0,1 sw $r1,0($r3) addi Sr4,Sr4,1 bne $r4, \$zero, loop a. What is the latency of a single instruction in a fully pipelined implementation? In a single cycle implementation? b. Assuming no forwarding, add NOP instructions to the code to remove any data hazards. The register file is read in the EX1 stage, and instructions must exit from WB for other instructions to use its value. c. What is the speedup of the fully pipelined implementation over the single cycle implementation? Assume steady-state execution. d. What are the possible forwarding paths? Assume data is ready to be forwarded at the end of its final stage (EX2, MEM3). e. Assuming all possible forwarding paths are implemented, what is the new speedup of the ful ipelined implementation over the single cycle implementation? Assume again steally tate execution

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 Systems For Advanced Applications 18th International Conference Dasfaa 2013 Wuhan China April 22 25 2013 Proceedings Part 2 Lncs 7826

Authors: Weiyi Meng ,Ling Feng ,Stephane Bressan ,Werner Winiwarter ,Wei Song

2013th Edition

3642374492, 978-3642374494

More Books

Students also viewed these Databases questions