Question: Consider two different implementations, P1 and P2, of the same instruction set. There are three classes of instructions (A, B and C) in the instruction

Consider two different implementations, P1 and P2, of the same instruction set. There are three classes of instructions (A, B and C) in the instruction set. P1 has a clock rate of 3.1 GHz and P2 has a clock rate of 2.45 GHz. The average number of cycles for each instruction class and their frequencies (for a typical program) are as follows: Instruction Class Machine P1 - Cycles/Instruction Class Machine P2 - Cycles/Instruction Class Frequency A 2 1 50% B 2 2 35% IC 3 4 15% Calculate the average CPI for machine P1. Calculate the average MIPS rating for machine P2. What is the relative performance (P1/P2)? Which processor has the higher performance?(P1 or P2)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
