Question: Consider two different implementations, M1 and M2, of the same instruction (one billion instructions). There are three classes of instructions (A, B, C, and D)

 Consider two different implementations, M1 and M2, of the same instruction

Consider two different implementations, M1 and M2, of the same instruction (one billion instructions). There are three classes of instructions (A, B, C, and D) in the instruction set. Machine Mi has a clock rate of 500 MHz and Machine M2 has a clock rate of 600 MHz. The average number of cycles for each instruction class and their frequencies (for a typical program) are as follows: Frequency Instruction Class A CPI (Cycles Per Instruction) Machine M1 Machine M2 B 40% 25% 25% 10% 3 3 5 2 3 4 D i. Calculate the average CPI for each machine, M1, and M2. ii. Which sequence will be faster

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!