Assume a program requires the execution of 50 106 FP instructions, 110 106 INT instructions,

Question:

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%?

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: