Answered step by step
Verified Expert Solution
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:
(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 ...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started