Question: 2. (20pts) Consider MIPS Instruction Stream: add $s2, St2, $t0 lw $t5, 48($t3) sub $12, $s2, $13 (a) Identify all hazards for the instruction

2. (20pts) Consider MIPS Instruction Stream: add $s2, St2, $t0 lw $t5, 48($t3) sub $12, $s2, $13 (a) Identify all hazards for the instruction stream. (b) If the instruction stream generates hazards, could it be handled without a pipeline stall? If yes, what kind of scheme can we use as we discussed in class? Illustrate the handling of hazard by a sketch of pipeline stages.
Step by Step Solution
3.37 Rating (141 Votes )
There are 3 Steps involved in it
Answer a Hazards in the given MIPS instruction stream Data Hazard Read After Write RAW sub t2 s2 t3 ... View full answer
Get step-by-step solutions from verified subject matter experts
