Question: Consider the following MIPS code segment: sw $t 2 , 2 0 ( $t 0 ) add $t 3 , $t 1 , $t 4
Consider the following MIPS code segment:
sw $t$t
add $t $t $t
lw $t$t
and $t $t $t
What is ALU doing during cycle if forwarding and hazard detection are supported?
Can we rearrange the order of instructions such that the number of cycles is minimized?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
