Consider each of the following sets of instructions. Decide…
Consider each of the following sets of instructions. Decide the minimum number of stalls needed in each case with and without forwarding. Assume the five stage MIPS pipeline discussed in class and that equality for branches are checked at the Decode stage. Assume delayed branching. Number of stalls required? Without forwarding With forwarding addiu $t1, $t0, 5 addu $t4, $t3, $t1 addu $t0, $t3, $t0 lw $t0, 4($s0) addu $t1, $t2, $t3 beq t0, t1, Done addu $t5, $t5, $s5 lw t1, 0($s0) sw t1, 0($s1) addu $t0, $s0, $t1 lw $t1 8($t0)
Read Details