Question: Software Pipeline: Problem C (10 Points) This problem involves the software pipelining of the MIPS loop code for the following loop written in C/C++ for

Software Pipeline:

Software Pipeline: Problem C (10 Points) This problem involves the software pipelining

Problem C (10 Points) This problem involves the software pipelining of the MIPS loop code for the following loop written in C/C++ for (i = 100; i > 0; i--) Un-optimzed MIPS loop code: loop: L.D L.D MUL.D MUL.D MUL.D ADD.D S.D DADDUI BNEZ F4,1000 (R1) F6,2000 (R1) F8, F4,FO F10, F6, F4 F12, F10, F2 F14, F12, F8 F14,3000 (R1) R1,R1,#-8 R1, loop You are to assume the following: .FO has been initialized with the value of a, and F2 has been initialized with the value of b. .The x, y and z arrays begin at locations 1000, 2000 and 3000, respectively. RI has been initialized as the offset to the last elements of the x, y and z arrays. Write the software pipeline code for the main loop. For this part, you are to ignore the initialization of other register values. If possible, select appropriate instructions from 4 iterations of the loop a. Write the loop initialization code. You are still to assume that FO, F2, and Rl have been initialized as described above prior to the code that you are to write. Your code is to set up conditions such that the software pipeline code could be correctly executed. b

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!