Question: Problem 3: Consider the following sequence ofinstructions and assume 5-stage pipelined datapath. add $sl, $s2, $s3 add $s2, $s1, $s4 sub $s1, $s1, $s2 lw

Problem 3: Consider the following sequence ofinstructions and assume 5-stage pipelined datapath. add $sl, $s2, $s3 add $s2, $s1, $s4 sub $s1, $s1, $s2 lw $s1, 32 ($s0) a) Indicate data dependencies (RAW, WAW, WAR) in the above set of instructions b) Indicate hazards and add bubbles (nop instructions) to eliminate them c) Use full forwarding and indicate hazards that still remain after EXE-EXE forwarding. Eliminate the remaining hazards using nop instructions. Can the remaining hazards be removed using MEM to EX forwarding or else? d)
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
