Question: 9. Consider the following code segment in C: A = B + E; C= B+ F; The following is the generated MIPS code for this

9. Consider the following code segment in C: A = B + E; C= B+ F; The following is the generated MIPS code for this segment, assuming all variables are in memory and are addressable as offsets from Sto lw $t2,4St0) add $t3, Stl, St2 SW St3, 12(St0) add $t5, Stl, St4 S St5. 16(St0) Find the hazards in the above code segment and reorder the instructions to avoid any pipeline stalls
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
