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, 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 costStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started