Question: Consider two different implementations, CPU1 and CPU2, of the same instruction set, which has three classes of instructions (A, B, and C). CPU1 has a

Consider two different implementations, CPU1 and CPU2, of the same instruction set, which has three classes of instructions (A, B, and C). CPU1 has a clock rate of 4.00 GHz, and CPU2 has a clock rate of 2.00 GHz. The average number of cycles in each instruction class on CPU1 and CPU2 is given in the table below. There are three compilers available for these CPUs: compiler C1 produced by the makers of CPU1, compiler C2 produced by the makers of CPU2, and compiler C3 produced by a third party. For a given program, each compiler produces the same number of instructions, but the instruction mix among the instruction classes differs as shown in the

Based on this information, answer the following questions.

a. Using C1 on both CPU1 and CPU2, how much faster can the makers of CPU1 claim that CPU1 is compared to CPU2?

b. Using C2 on both CPU1 and CPU2, how much faster can the makers of CPU2 claim that CPU2 is compared to CPU1?

c. For CPU1, which compiler is the best?

d. For CPU2, which compiler is the best?

e. Which CPU and compiler combination would you purchase if all other criteria are the same, including cost.

Consider two different implementations, CPU1 and CPU2, of the same instruction set,

Consider two different implementations, CPU1 and CPU2, of the same instruction set, which has three classes of instructions (A, B, and C). CPUl has a clock rate of 4.00 GHz, and CPU2 has a clock rate of 2.00 GHz. The average number of cycles in each instruction class on CPU1 and CPU2 is given in the table below. 3. There are three compilers available for these CPUs: compiler C1 produced by the makers of CPU1, compiler C2 produced by the makers of CPU2, and compiler C3 produced by a third party. For a given program, each compiler produces the same number of instructions, but the instruction mix among the instruction classes differs as shown in the table Instruction CPI on CPI on C1 Freq. C2 Freq.C3 Freq Class CPU1 | CPU2 | (%) 40.0 40.0 20.0 40.0 20.0 40.0 50.0 25.0 25.0 Based on this information, answer the following questions Using Cl on both CPU1 and CPU2, how much faster can the makers of CPU1 claim that CPU1 is compared to CPU2? Using C2 on both CPU1 and CPU2, how much faster can the makers of CPU2 claim that CPU2 is compared to CPU1? a. b. c. For CPU1, which compiler is the best? d. For CPU2, which compiler is the best? e. Which CPU and compiler combination would you purchase if all other cri teria are the same, including cost

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!