Question: 7. In this exercise, we examine how data dependences (RAW, WAR, WAW) affect execution in the basic 5- stage pipeline. Consider the following sequence of

 7. In this exercise, we examine how data dependences (RAW, WAR,

7. In this exercise, we examine how data dependences (RAW, WAR, WAW) affect execution in the basic 5- stage pipeline. Consider the following sequence of instructions: or or or $s1, $s2, $s3 $s2, $s1, $s4 $s1, $s1, $s2 Also assume the following cycle time for each of the options related to forwarding: Without forwarding 250ps With full forwarding 300ps With ALU-ALU forwarding only 290ps Indicate dependences and their type. Assume there is no forwarding in this pipelined processor, indicate hazards and add nop instruction to eliminate them. Assume there is full forwarding, indicate hazards and add nop instruction to eliminate them. What is the total execution time of this instruction sequence without forwarding and with full forwarding? forwarding? Add nop instructions to this code to eliminate hazards if there is ALU-ALU forwarding only (no forwarding from the MEM to EX stage). a. b. c. d. What is the speedup achieved by adding full forwarding to a pipeline that had no e. f. What is the total execution time of this instruction sequence with only ALU-ALU forwarding? What is the speed-up over a no-forwarding pipeline

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 Databases Questions!