Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started