Answered step by step
Verified Expert Solution
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
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started