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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!