Question: This question pertains to loop unrolling ( and not SIMD ) and multi - issue data paths. You must use MIPS. 1 . ( 4

This question pertains to loop unrolling (and not SIMD) and multi-issue data paths. You must use MIPS.
1.(4 points) Provide high-level language code for an IAXPY operation. You must state your function prototype and it must be consistent throughout this section.
2.(8 points) Convert your high-level language code from the previous question to assembly language. Do not use System V ABI, you are constrained by the following:
Input arguments (pointers and scalars) are placed in reverse order in the temporary
registers.
The scratch registers you can use only are $s0, $s3, and the input and output registers. Assume that since these registers are scratch you do not need to preserve their values on the stack (it had already been done for you).
Any local variables you use begin at SP +127 on the stack.
3.(8 points) Unroll your assembly code from the previous question to a loop factor of 2
4.(8 points) Arrange your unrolled assembly code from the previous question into issue packets for a static multi-issue processor that has the following data paths:
Two data paths that can execute any command but memory operations.
One data path that can only load from memory.
One data path that can only store from memory.

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!