Question: 3. (7 points) Change the instructions order to reduce the number of stalls (with forwarding). |1|2|3|4|56|78|9 10 11 12 13 14 15 16 17 18

3. (7 points) Change the instructions order to reduce the number of stalls (with forwarding). |1|2|3|4|56|78|9 10 11 12 13 14 15 16 17 18 19 Stall cycles # Inst A lw $1, 0($2) B lw $3,0($1) D add $5, $8, $9 C add $4, $3, $9 Flw $9, 0($7) Elw $4, 0($8) Gadd $10, $9, $11 H sub $12, $4, $10 sw $12, 0($14) Number of cycles = 3. (7 points) Change the instructions order to reduce the number of stalls (with forwarding). |1|2|3|4|56|78|9 10 11 12 13 14 15 16 17 18 19 Stall cycles # Inst A lw $1, 0($2) B lw $3,0($1) D add $5, $8, $9 C add $4, $3, $9 Flw $9, 0($7) Elw $4, 0($8) Gadd $10, $9, $11 H sub $12, $4, $10 sw $12, 0($14) Number of cycles =
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
