Question: Question 3: Computer Abstractions and Technology Consider two different implementations, M1 and M2, of the same instruction set. There are three classes of instructions (A,

 Question 3: Computer Abstractions and Technology Consider two different implementations, M1
and M2, of the same instruction set. There are three classes of

Question 3: Computer Abstractions and Technology Consider two different implementations, M1 and M2, of the same instruction set. There are three classes of instructions (A, B, andC) in the instruction set. Mi 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 MI and M2 is given in the following table: Class CPI on MI CPI on M2 Cl usage C2 usage C3 usage A 4 2 30% 30% 50% B 50% 20% 30% 8 20% 50% 20% 6 4 8 The table also contains a summary of how three different compilers use the instruction set. Ci 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 instructions for a given program, but the instruction mix is as described in the table. a) Using CI on both MI and M2, how much faster can the makers of Mi claim that Mi is compared with M2? b) Using C2 on both M2 and MI, how much faster can the makers of M2 claim that M2 is compared with MI? c) If you purchased the machine which compiler would you use? d) Which machine would you choose if we assumed that all other criteria are identical, including costs

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!