Question: Assume a program requires the execution of 50*106 FP instructions, 110*106 INT instructions, 80*106 L/S instruction and 16*106 branch instructions. The CPI for each type

Assume a program requires the execution of 50*106 FP instructions, 110*106 INT instructions, 80*106 L/S instruction and 16*106 branch instructions. The CPI for each type of instruction is 1, 1, 4, and 2, respectively. Assume the processor has a 2GHz clock rate.

a. What is the CPU time of this program?

b. Assuming we want the program to run 10% faster by improving only the FP CPI value, what would be the value of the new CPIFP to achieve this goal?

c. By how much must we improve the CPI of FP instructions if we want the program to run twice as fast?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!