Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

How data dependences affect execution in the basic 5-stage pipeline described in Zybook Section 4.5 (An overview of pipelining). Problems in this exercise refer to

How data dependences affect execution in the basic 5-stage pipeline described in Zybook Section 4.5 (An overview of pipelining). Problems in this exercise refer to the following sequence of instructions:

or r1, r2, r3

or r2, r1, r4

or r1, r1, r2

Also, assume the following cycle times for each of the options related to forwarding:

A. Indicate dependences and their type. B. Assume there is no forwarding in this pipelined processor. Indicate hazards and add nop instructions to eliminate them. C. Assume there is full forwarding. Indicate hazards and add NOP instructions to eliminate them. D. What is the total execution time of this instruction sequence without forwarding and with full forwarding? What is the speedup achieved by adding full forwarding to a pipeline that had no forwarding? E. Add nop instructions to this code to eliminate hazards if there is ALU-ALU forwarding only (no forwarding from the MEM to the EX stage). F. What is the total execution time of this instruction sequence with only ALU- ALU forwarding? What is the speedup over a no-forwarding pipeline?

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_2

Step: 3

blur-text-image_3

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 Design And Implementation

Authors: Edward Sciore

2nd Edition

3030338355, 978-3030338350

More Books

Students also viewed these Databases questions

Question

=+ If strikes occur, are they legally regulated?

Answered: 1 week ago

Question

=+industrial action Under what circumstances can unions strike?

Answered: 1 week ago

Question

=+What forms of industrial action are common?

Answered: 1 week ago