Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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, 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started