Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q2. Instructions with Longer Latency How many cycles would be needed to execute the following MIPS code using different assumptions in each sub-question? Show your

image text in transcribed

Q2. Instructions with Longer Latency How many cycles would be needed to execute the following MIPS code using different assumptions in each sub-question? Show your work for partial credits F4, 0 (R2) F5, 4 (R2) MUL.D FO, F4, F5 ADD.D F2, FO, F5 ADD.D F3, FO, F4 F2, 0 (R2) F3, 4 (R2) (a) Assumptions . one FP Add functional unit (FU) of which latency is 3 and initiation interval is 3 . one FP Multiply FU of which latency is 6 and initiation interval is 4 . one integer FU 123 45 6789 1 1112 13 1415 16 171819 20 L.D F5, 4(R2) MUL.D F0, F4, F5 ADD.D F2, F0, F5 ADD.D F3, FO, F4 S.DF2, e(R2) S.DF3, 4(R2) 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 L.D F5, 4(R2) MUL.D F0, F4, F5 ADD.D F2, F0, F5 ADD.D F3, F0, F4 S.DF2, e(R2) S.DF3, 4(R2) Q2. Instructions with Longer Latency How many cycles would be needed to execute the following MIPS code using different assumptions in each sub-question? Show your work for partial credits F4, 0 (R2) F5, 4 (R2) MUL.D FO, F4, F5 ADD.D F2, FO, F5 ADD.D F3, FO, F4 F2, 0 (R2) F3, 4 (R2) (a) Assumptions . one FP Add functional unit (FU) of which latency is 3 and initiation interval is 3 . one FP Multiply FU of which latency is 6 and initiation interval is 4 . one integer FU 123 45 6789 1 1112 13 1415 16 171819 20 L.D F5, 4(R2) MUL.D F0, F4, F5 ADD.D F2, F0, F5 ADD.D F3, FO, F4 S.DF2, e(R2) S.DF3, 4(R2) 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 L.D F5, 4(R2) MUL.D F0, F4, F5 ADD.D F2, F0, F5 ADD.D F3, F0, F4 S.DF2, e(R2) S.DF3, 4(R2)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

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

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

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

Get Started

Recommended Textbook for

Database Concepts International Edition

Authors: David M. Kroenke

6th Edition International Edition

0133098222, 978-0133098228

More Books

Students also viewed these Databases questions

Question

Describe employee assistance programs.

Answered: 1 week ago