Question: (b) Consider two CPUs P1 and P2, each implementing the same ISA and executing a program P. Program P comprises four classes of instructions: A,

 (b) Consider two CPUs P1 and P2, each implementing the same

(b) Consider two CPUs P1 and P2, each implementing the same ISA and executing a program P. Program P comprises four classes of instructions: A, B, C, and D. The clock frequency of each CPU and CPI for each instruction class for each CPU is given in the table. i. Suppose program P comprises 10M instructions with the following instruction frequencies: 10% class A, 20% class B, 50% class C, and 20% class D. Which CPU implementation is faster? ii. Compute is the overall average CPI for program P for each CPU implementation. iii. Compute the total clock cycles required to execute program P for each CPU implementation

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!