Question: In this exercise, we examine how data dependences aff ect execution in the basic 5 - stage pipeline described in Section 4 . 5 .
In this exercise, we examine how data dependences aff ect execution in the basic stage pipeline described in
Section Problems in this exercise refer to the following sequence of instructions:
or rrr
or rrr
or rrr
Also, assume the following cycle times for each of the options related to forwarding:
Without Forwardingps
With Full Forwardingps
a Indicate dependences and their type.
b Assume there is no forwarding in this pipelined processor. Indicate hazards and add nop instructions to eliminate them.
c Assume there is full forwarding. Indicate hazards and add NOP instructions to eliminate them.
d What is the total execution time of this instruction sequence without forwarding and with full forwarding?
e What is the speedup achieved by adding full forwarding to a pipeline that had no forwarding?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
