Question: Consider two different implementations, P 1 and P 2 , of the same instruction set architecture. The instructions can be divided into four classes according

Consider two different implementations, P1 and P2, of the same instruction set architecture. The
instructions can be divided into four classes according to their CPI (classes A, B, C, and D). P1 with a clock
rate of 2.5 GHz and CPIs of 1,2,3, and 4 respectively, and P2 with a clock rate of 3 GHz and CPIs of 2,2,
2, and 2 respectively. Given a program with an instruction count of 1.0E9(this is the scientific notation
for writing 1*10
9
) instructions, is divided into classes as follows: 20% class A,10% class B,40% class C,
and 30% class D
a. Which implementation is faster to run the given program: P1 or P2?(2pts)
b. What is the global (average) CPI for each implementation? (2 pts)
c. Find the number of clock cycles required to execute the program in both cases. (2pts)C) Consider two different implementations, P1 and P2, of the same instruction set architecture. The
instructions can be divided into four classes according to their CPI (classes A, B, C, and D). P1 with a clock
rate of 2.5GHz and CPI s of 1,2,3, and 4 respectively, and P2 with a clock rate of 3GHz and CPIs of 2,2,
2, and 2 respectively. Given a program with an instruction count of 1.0E9(this is the scientific notation
for writing 1**109) instructions, is divided into classes as follows: 20% class A,10% class B,40% class C,
and 30% class D
a. Which implementation is faster to run the given program: P1 or P2?(2pts)
b. What is the global (average) CPI for each implementation? (2 pts)
c. Find the number of clock cycles required to execute the program in both cases. (2pts)
 Consider two different implementations, P1 and P2, of the same instruction

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!