Question: 2. Assume a program requires the execution of 30 ~ 106 FP instructions, 125 x 106 INT instructions, 50 x 106 L/S instructions, and 12

2. Assume a program requires the execution of 30 ~ 106 FP instructions, 125 x 106 INT instructions, 50 x 106 L/S instructions, and 12 x 106 branch instructions. The CPI for each type of instruction is 2, 1, 5, and 3, respectively. Assume that the processor has a 3 GHz clock rate. a. By how much must we improve the CPI of FP instructions if we want the program to run two times faster? b. By how much must we improve the CPI of L/S instructions if we want the program to run two times faster? C. 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
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
