Question: Question 4 . Assume a program requires the execution of 2 0 FP instructions, 1 0 0 INT instructions, 9 0 2 Load / Store

Question 4. Assume a program requires the execution of 20 FP instructions, 100 INT instructions, 902 Load/Store (L/S) instructions, and 182 branch instructions. The CPI
(Cycles Per Instruction) for each type of instruction is 1.5,1,3, and 2, respectively. Assume that the processor has a 2.5GHz clock rate.
a. How many clock cycles does this program require in total?
b. How much CPU time is required to execute this program?
c. By how much must we improve the CPI of FP instructions if we want the program to run two times faster?
d. By how much must we improve the CPI of L/S instructions if we want the program to run two times faster?
e. By how much is the execution time of the program improved if the CPI of INT and FP instructions is reduced by 30% and the CPI of L/S and Branch is reduced by 20%?
f. What is the average CPI for this program?
 Question 4. Assume a program requires the execution of 20 FP

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!