Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Exercise 4.13 In this exercise, we examine how data dependences affect execution in the basic 5-stage pipeline described in Section 4.5. Problems in this exercise

image text in transcribed
Exercise 4.13 In this exercise, we examine how data dependences affect execution in the basic 5-stage pipeline described in Section 4.5. Problems in this exercise refer to the fol- lowing sequence of instructions: Instruction Sequence SW R16.-100(R6) ADD R5 R4 R4 b. OR R1,R2.R3 OR R2.R1.4 LW R4,8(R16) OR RI.R1,R2 4.16 Exercises 421 4.13.1 [10] Indicate dependences and their type. 4.13.2 [10] Assume there is no forwarding in this pipelined processor. Indicate hazards and add NOP instructions to eliminate them. 4.13.3 [10] Assume there is full forwarding. Indicate hazards and add NOP instructions to eliminate them. Without Forwarding 250ps 180ps With Full Forwarding With ALU-ALU Forwarding Only 300ps 290ps 240p 210ps 4.13.4 [10] What is the total execution time of this instruction sequence without forwarding and with full forwardingWhat is the speedup achieved by adding full forwarding to a pipeline that had no forwarding? 4.13.5 [10] 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). 4.13.6 (10) What is the total execution time of this instruction sequence with only ALU-ALU forwarding? What is the speedup over a no-forwarding pipe- line

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

Intelligent Databases Technologies And Applications

Authors: Zongmin Ma

1st Edition

1599041219, 978-1599041216

More Books

Students also viewed these Databases questions

Question

How do Data Types perform data validation?

Answered: 1 week ago

Question

How does Referential Integrity work?

Answered: 1 week ago