Question: Assume a program that executes 25,000 type A instructions, 500,000 type B instructions, 1,600 type C instructions, and 60,000 type D instructions. Assume that the

Assume a program that executes 25,000 type A instructions, 500,000 type B instructions, 1,600 type C instructions, and 60,000 type D instructions. Assume that the CPI for each of these types is 4, 2, 5, and 1 respectively. Assume that this processor runs at a clock rate of 4 GHz. a. What is the total execution time of this program? b. Can we achieve a 2x speedup by only improving the CPI for type A instructions? c. What must the CPI of type B instructions be reduced to in order to achieve a 4x speedup?

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!