Question: Assume a program requires the execution of 50 106 FP instructions, 110 106 INT instructions, 80 106 L/S instructions, and 16
Assume a program requires the execution of 50 × 106 FP instructions, 110 × 106 INT instructions, 80 × 106 L/S instructions, and 16 × 106 branch instructions. The CPI for each type of instruction is 1, 1, 4, and 2, respectively.
Assume that the processor has a 2 GHz clock rate.
1. By how much must we improve the CPI of FP instructions if we want the program to run two times faster?
2. By how much must we improve the CPI of L/S instructions if we want the program to run two times faster?
3. By how much is the execution time of the program improved if the CPI of INT and FP instructions is reduced by 40% and the CPI of L/S and Branch is reduced by 30%?
Step by Step Solution
3.48 Rating (178 Votes )
There are 3 Steps involved in it
1 Clock cycles CPI fp No FP instr CPI int No INT instr CPI ls No LS instr CPI branch No branch instr ... View full answer
Get step-by-step solutions from verified subject matter experts
