Question: Part 2 : [ 4 0 points ] . There are two machines, M 1 and M 2 with different ISAs. Three classes of instructions

Part 2: [40 points].
There are two machines, M1 and M2 with different ISAs. Three classes of instructions A, B, and C are
included in both instructions sets. M1 has a clock rate of 2.25 GHz and M2 has a clock rate of 3 GHz. The
number of cycles required for each instruction class in each machine are given below. A typical program is
compiled (by similar compilers) into 1 million and 2 million instructions in M1 and M2 respectively. The
frequencies of instructions in each instruction class in each machine are also given below.
Instruction Class Machine M1 Machine M2
Cycles/Ins
tructions
Frequency Cycles/Ins
tructions
Frequency
A 160%150%
B 230%330%
C 310%320%
CLOCK RATE 2.25 GHZ 3 GHZ
# Of ML Instructions 1 million 2 million
Average CPI
MIPS
Execution Time
1) Calculate the average CPIs for both M1 and M2.
2) Calculate the MIPS of both M1 and M2.
3) Calculate the execution times in M1 and M2

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!