Question: Consider two different implementations of the same instruction set architecture. The instructions can be divided into four classes according to their CPI (class A, B,
Consider two different implementations of the same instruction set architecture. The instructions can be divided into four classes according to their CPI (class A, B, C, and D). P1 with a clock rate of 2.5 GHz and CPIs of 1, 2, 3, and 3, and P2 with a clock rate of 3 GHz and CPIs of 2, 2, 2, and 2.
Suppose the run a program with a dynamic instruction count of 1.0x106instructions divided into classes as follows: 10% class A, 20% class B, 50% class C, and 20% class D.
a. How long does it take P1 to run the program?
_____ x 10^-3 seconds
b. How long does it take P2 to run the program?
_____ x 10^-3 seconds
c. What is the global CPI for P1?
_____
d. What is the global CPI for P2?
_____
e. How many clocks needed for P1?
_____ x 10^6
f. How many clocks needed for P2?
_____ x 10^6
Thank you!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
