Question: Consider an inner product loop that computes S = x[i]*y[i] for vectors of length N. The MIPS assembly code is: Because these numbers are floating-point,

 Consider an inner product loop that computes S = x[i]*y[i] for

Consider an inner product loop that computes S = x[i]*y[i] for vectors of length N. The MIPS assembly code is: Because these numbers are floating-point, the execute stage takes two cycles, so the modified MIPS pipeline is now: IF, ID, EX1, EX2, MEM, WB. Schedule this loop on a the new pipeline with no forwarding Schedule this loop on the new pipeline with forwarding Write the code of a 2x unrolled version of this loop reordering the instructions to minimize stalls, show its schedule on the new pipeline (add 10 to the register numbers to distinguish the second iteration from the first) Consider an inner product loop that computes S = x[i]*y[i] for vectors of length N. The MIPS assembly code is: Because these numbers are floating-point, the execute stage takes two cycles, so the modified MIPS pipeline is now: IF, ID, EX1, EX2, MEM, WB. Schedule this loop on a the new pipeline with no forwarding Schedule this loop on the new pipeline with forwarding Write the code of a 2x unrolled version of this loop reordering the instructions to minimize stalls, show its schedule on the new pipeline (add 10 to the register numbers to distinguish the second iteration from the first)

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!