Chapter 1: Q14E (page 59)
Assume a program requires the execution ofFP instructions, INT instructions,L/S instructions, andbranch 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.14.1 By how much must we improve the CPI of FP instructions if we want the program to run two times faster?
1.14.2 By how much must we improve the CPI of L/S instructions if we want the program to run two times faster?
1.14.3 By how much is the execution time of the program improved if the CPI of INT and FP instructions is reduced byand the CPI of L/S and Branch is reduced by?
Short Answer
1.14.1
CPI is negative so it’s not possible
1.14.2
CPI of L/S instructions must improve by 5 times
1.14.3
Time improvement times