Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Information And Database Systems Asian Conference Aciids 2012 Kaohsiung Taiwan March 19 21 2012 Proceedings Part 3 Lnai 7198

Authors: Jeng-Shyang Pan ,Shyi-Ming Chen ,Ngoc-Thanh Nguyen

2012th Edition

3642284922, 978-3642284922

More Books

Students also viewed these Databases questions

Question

Assure everyone that the company has a good future.

Answered: 1 week ago