Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider two different implementations, M1 and M2, of the same instruction set. There are three different classes of instructions (A, B and C) in the

Consider two different implementations, M1 and M2, of the same instruction set. There are three different classes of instructions (A, B and C) in the instruction set. M1 has a clock rate of 400 MHz, and M2 has a clock rate of 200 MHz. The average number of cycles for each instruction class on M1 and M2 is given in the following table:

Class CPI on M1 CPI on M2 C1 Usage C2 Usage Third-party Usage A 4 2 30% 30% 50% B 6 4 50% 20% 30% C 8 3 20% 50% 20%

The table also contains a summary of how three different compilers use the instruction set. C1 is a compiler produced by the makers of M1, C2 is a compiler produced by the makers of M2, and the other compiler is a third-party product. Assume that each compiler uses the same number of instructions for a given program but that the instruction mix is as described in the table. A) Compare the performance of both M1 and M2 using the three offered compilers. B) If you purchase M1, which compiler would you choose? And which compiler would you pick when buying M2? Explain. C) Which machine would you purchase if we assume all other criteria are identical, including costs? Justify.

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_2

Step: 3

blur-text-image_3

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

Modern Auditing Study Guide

Authors: Walter G. Kell

4th Edition

0471619434, 978-0471619437

More Books

Students also viewed these Accounting questions

Question

=+2. Describe how and why pain is adaptive.

Answered: 1 week ago

Question

Define Administration?

Answered: 1 week ago