Question: This code does not include the initialization of $s 0 to the base address of A [ i ] , $s 1 to the base

This code does not include the initialization of $s0 to the base address of A[i], $s1 to the base address of B[i], initialization of the product ($s2) to 0 and initialization of the loop counter $t3 to 90. Using loop unrolling (3 loops) and register renaming, rewrite your code. Include a written explanation of each step of the process.
Next, assign the instructions to packets and slots for the Static Dual Issue MIPS processor described in Lecture 18. Fill out the below table showing instruction packets and slots. Add nops if there are any hazards you cannot resolve with forwarding. Add more rows if
needed. What is the IPC for your code? How many cycles does it take to execute a dot product with 90 elements in the array? If you unroll 5 loops what is the IPC? How many cycles does it take to execute a dot product with 90 elements in the array?
This code does not include the initialization of

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 Programming Questions!