Question: 2 Dependencies Consider the following MIPS code. Identify all dependencies that are less than 4 instructions apart. (you may identify each dependence by listing register,

2 Dependencies Consider the following MIPS code. Identify all dependencies that are less than 4 instructions apart. (you may identify each dependence by listing register, lines in which it appears and type of dependence). Indicate which (if any) dependencies require stalling the pipeline. Why don't we care about dependencies that are 5 (or more) instructions apart? 1. add Sto, $s6, $50 2. add Sti, Ss7, Ss1 3. lw $so, O (sto) 4. addi St2, Sto, 4 5. lw $to, O(St2) 6. add Sto, Sto, $50 7. sw $t2, O(st1)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
