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 Assume a program requires the execution of FP instructions, INT instructions, LoadStore LS instructions, and branch instructions. The CPI
Cycles Per Instruction for each type of instruction is and respectively. Assume that the processor has a 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 LS 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 and the CPI of LS and Branch is reduced by
f What is the average CPI for this program?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
