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

6 pts) In this exercise, we examine how data dependences affect execution in the basic 5-
stage pipeline described in Section 4.6. Problems in this exercise refer to the following
sequence of instructions:
add x10, x11, x12
add x11, x10, x13
add x10, x10, x11
Also, assume the following clock cycle times for each of the options related to forwarding:
Without Forwarding With Full Forwarding
200ps 250ps
ng With Full Forwarding With ALU-ALU Forwarding Only
a.(2 pts) Assume there is no forwarding in this pipelined processor. Indicate hazards and
add nop (no operation) instructions to eliminate them (list instruction sequences with
nop).
b.(2 pts) Assume there is full forwarding. Indicate hazards and add nop instructions (if
necessary) to eliminate them.
c.(2 pts) What is the total execution time of this instruction sequence without forwarding
and with full forwarding, respectively?

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!