Question: 2. Two processors, P1 and P2, support the same instruction set. The instructions in the instruction set can be divided into four classes, i.e., Classes

2. Two processors, P1 and P2, support the same instruction set. The instructions in the instruction set can be divided into four classes, i.e., Classes A, B, C, and D. The specifications of these two processors are listed as follows. CPI of each instruction class Class A Class BClass C Class D Processor Frequency (GHz) P1 P2 2 3 2 4 2 4. For a given program, it contains 30% Class A instructions, 20% Class B instructions, 20% Class C instructions, 30% Class D instructions. (a) What is the overall CPI for execution this program on each processor? (b) If this program contains 3 109 instructions, how many seconds does each processor need to take to execute this program
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
