Question: Exercise 4 . 9 In this exercise, we examine how data dependences affect execution in the basic 5 - stage pipeline described in Section 4

Exercise 4.9
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 following sequence of instructions:
or ,r1,r2,r3
or ,r2,r1,r4
or r1,r1,r2
4.9.1
There are three data dependences B that may cause a data harzard:
read after write (RAW).(True dependency)
write after read (WAR)(Antidependency)
write after write (WAW)(Output dependency)
In the basic five-stage pipeline WAR and WAW dependences do not cause any
hazards.
Without forwarding, any RAW dependence between an instruction and the next
two instructions cause data hazards.
Indicate dependences and their type.
A
B
C
D
E
(Cont.) Exercise 4.9
In the basic five-stage pipeline, choose the data dependence(s) that cause the
hazards. (Assuming no forwarding.)
A
B
C
D
E
Exercise 4 . 9 In this exercise, we examine how

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!