Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed 




(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. Clock CPU CPI per Instruction Class Frequency Class A Class B Class C Class D P1 2.5GHz 1.0 2.0 3.0 3.0 P2 3.0GHz 2.0 2.0 2.0 2.0 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

3.38 Rating (160 Votes )

There are 3 Steps involved in it

Step: 1

i To determine which CPU implementation is faster we need to compare their execution times Execution ... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Computer Organization And Design The Hardware Software Interface

Authors: David A. Patterson, John L. Hennessy

4th Revised Edition

0123747503, 978-0123747501

More Books

Students also viewed these Programming questions