Question: Rewrite the following code to minimize performance on this datapaththat is, reorder the instructions so that this sequence takes the most clock cycles to execute
Rewrite the following code to minimize performance on this datapaththat is, reorder the instructions so that this sequence takes the most clock cycles to execute while still obtaining the same result.
lw $2, 100($6)
lw $3, 200($7)
add $4, $2, $1
add $6, $3, $5
sub $8, $4, $6
lw $7, 300($8)
beq $7, $8, Loop
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
