Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider two different implementations, M 1 and M 2 , of the same instruction set ( Number of Instructions = 1 0 ^ 9 i

Consider two different implementations, M1 and M2, of the same instruction set
(Number of Instructions =10^9 i.e 1,000,000,000). There are three classes of
instructions (A, B, and C) in the instruction set. M1 has a clock rate of 3 GHz and M2 has a clock rate of 4 GHz. The average number of cycles for each instruction class and their frequencies (for a typical program) are as follows:
Instruction Class
M1 CPI
M2 CPI
Frequency
2
2
40%
B
1
3
30%
C
4
3
30%
a) Calculate the average CP| for each machine, M1 and M2
b) Calculate the execution time for each machine, M1 and M2 and state which o faster.
c) By how much must we improve the CPI of Class A instructions if we want the program to run 40% times faster on Machine M1?
Note: Please show work for all the questions above.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

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

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

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

Get Started

Students also viewed these Databases questions