Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the following sequence of five instructions: where [A],1[A],2[A] are memory address locations. (a) For each successive pairs of instructions above (I1, I2), (I2, I3),

image text in transcribed

Consider the following sequence of five instructions: where [A],1[A],2[A] are memory address locations. (a) For each successive pairs of instructions above (I1, I2), (I2, I3), (I3, I4), (I4, I5), what is the type of dependency with consideration only to register R1 ? (4 marks) (b) In the absence of data forwarding, can each pair of successive instructions in (a) is running in a 5 -stage pipeline described in Unit 3 without insertion of NOP in between the two instructions without hazard? Briefly explain what will happen to the final result using a diagram. (8 marks) (c) With reference to (a), for each instruction pair with pipeline hazard, describe how these hazards can be resolved by inserting an appropriate number of NOP instructions. (A paragraph of discussion and a diagram are expected). (5 marks) (d) Inserting NOP or stall will waste CPU cycles, name three other methods which helps to eliminate the data hazards

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

Students also viewed these Databases questions

Question

Is there a clear hierarchy of points in my outline?

Answered: 1 week ago