Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider a pipelined execution of the following program segment in which the instruction labeled Beg starts at memory address (2040) 10 . All registers used

Consider a pipelined execution of the following program segment in which the instruction labeled Beg starts at memory address (2040)10. All registers used contain 0 initially.

Beg:

add

$8, $9, $10

beq

$5, $6, Nex

lw

$7, 30($13)

sw

$14, 48($15)

Nex :

and

$11, $12, $13

Show the state of the 5-stage pipeline (i.e. the pipelined execution representation) for the instructions above.

Assume the time for stages is 100ps for register read or write, and 200ps for other stages. Compute the total time required for each of the instructions used in the program segment above.

Compare the total execution time for non-pipelined and pipelined execution of the above program segment:

Non-pipeline design = ______________ ps

Pipelined design = ______________ ps

_________________ design is _________ times faster

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

MySQL/PHP Database Applications

Authors: Jay Greenspan, Brad Bulger

1st Edition

ISBN: 978-0764535376

More Books

Students also viewed these Databases questions