Question: Question 5 (Computer Performance): 10 marks Consider two different implementations of the same instruction set architecture. There are four classes of instructions, A, B, C,

Question 5 (Computer Performance): 10 marks Consider two different implementations of the same instruction set architecture. There are four classes of instructions, A, B, C, and D. The clock rate and CPI of each implementation are given in the following table. CPI class A CPI class B CPI class C CPI class D CLOCK RATE P1 2.5 GHz 1 2 3 3 P2 3 GHz 2 2 2 2 (a) Given a program with 106 instructions divided into classes as follows: 10% class A, 20% class B, 50% class C, and 20% class D, which implementation is faster? [3 marks] (b) What is the global CPI for each implementation? [3 marks] (c) Find the clock cycles required in both cases. [4 marks]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
