Question: Consider two processors (P1 and P2) with different implementations of the same ISA. In this ISA, we can classify each instruction into one of 4
Consider two processors (P1 and P2) with different implementations of the same ISA. In this ISA, we can classify each instruction into one of 4 classes (A, B, C, D) according to their CPI (in other words, some instructions require more cycles than others). P1 has a clock rate of 2.0 GHz and CPIs of (A=1, B=3, C=3, D=2), while P2 has a clock rate of 3.5 GHz and CPIs of (A=2, B=3, C=3, D=2). Now consider a program consisting of 1,000,000 instructions with the following distribution (A=10%, B=30%, C=40%, D=20%)
a) What is the global CPI for each implementation?
b) How many clock cycles are required to fully execute the program on P1 and P2?
c) How long, in seconds, does it take each processor to fully execute the program?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
