Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions