Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

7. In this exercise, we examine how data dependences (RAW, WAR, WAW) affect execution in the basic 5- stage pipeline. Consider the following sequence of

image text in transcribed

7. In this exercise, we examine how data dependences (RAW, WAR, WAW) affect execution in the basic 5- stage pipeline. Consider the following sequence of instructions: or or or $s1, $s2, $s3 $s2, $s1, $s4 $s1, $s1, $s2 Also assume the following cycle time for each of the options related to forwarding: Without forwarding 250ps With full forwarding 300ps With ALU-ALU forwarding only 290ps Indicate dependences and their type. Assume there is no forwarding in this pipelined processor, indicate hazards and add nop instruction to eliminate them. Assume there is full forwarding, indicate hazards and add nop instruction to eliminate them. What is the total execution time of this instruction sequence without forwarding and with full forwarding? forwarding? Add nop instructions to this code to eliminate hazards if there is ALU-ALU forwarding only (no forwarding from the MEM to EX stage). a. b. c. d. What is the speedup achieved by adding full forwarding to a pipeline that had no e. f. What is the total execution time of this instruction sequence with only ALU-ALU forwarding? What is the speed-up 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

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

Upgrading Oracle Databases Oracle Database New Features

Authors: Charles Kim, Gary Gordhamer, Sean Scott

1st Edition

B0BL12WFP6, 979-8359657501

More Books

Students also viewed these Databases questions

Question

for the floor value 0.597 the floor value is

Answered: 1 week ago