Question: 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

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 Accounting Questions!