Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

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

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

Recommended Textbook for

Beginning ASP.NET 2.0 And Databases

Authors: John Kauffman, Bradley Millington

1st Edition

0471781347, 978-0471781349

More Books

Students also viewed these Databases questions

Question

What does the color of a star tell you about the star?

Answered: 1 week ago