Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Consider two different implementations of the same instruction set architecture on two different processors. The instructions can be divided into four classes according to their
Consider two different implementations of the same instruction set architecture on two different processors. The instructions can be divided into four classes according to their CPI (class A, B, C D). Processor P1 with a clock rate of 2GHz and CPIs of 1, 2, 3 and 4, and Processor P2 with a clock rate of 4GHz and CPIs of 3,3,3 and 5 . Given a program with a dynamic instruction count of 1.000.000 instructions divided into classes s follows: 20% class A, 10% class B, 30% class C, and 40% class D. Answer based on the solution of the following questions. (a) Find the clock cycles required in both processors. [7 points] (b) Find the total time required to execute this program in both processors. [7 points] (c) What is the global CPI of each processor? [7 points] (d) Which is faster for the given program? P1 or P2? [7 points] (e) What do you see as the biggest problem for the slower processor? [6 points]
Step by Step Solution
There are 3 Steps involved in it
Step: 1
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