Is it possible to avoid stalls in the following code by rearranging the instructions? lw $t0,($s0) add $t0,$t0,$t1 sw $t
Posted: Fri May 20, 2022 5:22 pm
Is it possible to avoid stalls in the following code by rearranging the instructions? lw $t0,($s0) add $t0,$t0,$t1 sw $t0,($s0) sll $t1,$t0, 2 sub $t2, $t1,$t0 a-)(8 points) Show the initial code's pipeline stage. b-)(6 points) Show the rearranged code and its pipeline stage. If you don't need to rearrange the code, explain your reasoning.