Question: Consider two different implementations of the same instruction set architecture (ISA). The instructions in each ISA can be divided into four classes according to their
Consider two different implementations of the same instruction set architecture (ISA). The instructions in each ISA can be divided into four classes according to their CPI (Class A,B,C,D). P1 has a clock rate of 2.5 GHZ and CPIs of 1,2,3,3 and P2 has a clock rate of 3 GHz and CPIs of 2,2,2,2.
a. Given a program with an instruction count of 1.0E6 instructions, where the instructions can be divided into classes as follows: 10 percent class A, 20 percent class B, 50 percent class C, and 20 percent class D, which is the fastest implementation?
b. What is the effective CPI for each implementation?
c. What is the required number of clock cycles to execute the program for each implementation?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
