Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2. In this question, we examine how data dependencies affect execution in the basic 5-stage pipeline described in the lectures (Section 4.5 in the text

image text in transcribed

2. In this question, we examine how data dependencies affect execution in the basic 5-stage pipeline described in the lectures (Section 4.5 in the text book). Problems in this exercise refer to the following sequence of instructions or r1, r2, r3 or r2, rl, r4 or r1, ri, r2 Also, assume the following cycle times shown in Table 3 for each of the options related to forwarding: Without Forwarding | With Full Forwarding|With ALU-ALU Forwarding Only 250ps 300ps 290ps Table 3: Cycle Times for different options (a) Indicate dependencies and their type (b) Assume there is no forwarding in this pipelined processor, indicate hazards and add nop struction to eliminate them (c) Assume there is full forwarding. Indicate hazards and add NOP instruction 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? (no forwarding from the MEM to the EX stage) What is the speedup over a no-forwarding pipeline? (e) Add nop instructions to this code to eliminate hazards if there is ALU-ALU forwarding only (f) What is the total execution time of this instruction sequence with only ALU-ALU forwarding

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

Pro SQL Server Wait Statistics

Authors: Enrico Van De Laar

1st Edition

1484211391, 9781484211397

More Books

Students also viewed these Databases questions