Is it possible to avoid stalls in the following code by rearranging the instructions? lw $t0,($s0) add $t0,$t0,$t1 sw $t
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Is it possible to avoid stalls in the following code by rearranging the instructions? lw $t0,($s0) add $t0,$t0,$t1 sw $t
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.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!