Compare two different implementations, P1 and P2, of the same instruction set. P1 has a clock rate of 400MHz, and P2 has a clock rate of 200MHz. The average number of cycles for each instruction class on P1 and P2 is given in the following table: Instruction set CPI (P1) 4 6 8 ABC C CPI (P2) 2 4 3 C1 usage 30% 50% 20% C2 usage 30% 20% 50% C3 usage 50% 30% 20% The above table also contains a summary of three different compilers using instruction set (C1, C2, and C3). C1 is a compiler produced by the markers of P1, C2 is a compiler produced by the makers of P2, and the C3 is a third-part product. Assume that each compiler uses the same number of instructed for a given program but that the instruction mix is as describe in the table. Answer the following questions:

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Please answer these questions, thank you! :)

Compare two different implementations, P1 and P2, of the same instruction set. P1 has a clock
rate of 400MHz, and P2 has a clock rate of 200MHz. The average number of cycles for each
instruction class on P1 and P2 is given in the following table:
Instruction set CPI (P1)
4
6
8
ABU
А
с
CPI (P2)
2
4
3
C1 usage
30%
50%
20%
C2 usage
30%
20%
50%
C3 usage
50%
30%
20%
The above table also contains a summary of three different compilers using instruction set (C1,
C2, and C3). C1 is a compiler produced by the markers of P1, C2 is a compiler produced by the
makers of P2, and the C3 is a third-part product. Assume that each compiler uses the same
number of instructed for a given program but that the instruction mix is as describe in the table.
Answer the following questions:
Transcribed Image Text:Compare two different implementations, P1 and P2, of the same instruction set. P1 has a clock rate of 400MHz, and P2 has a clock rate of 200MHz. The average number of cycles for each instruction class on P1 and P2 is given in the following table: Instruction set CPI (P1) 4 6 8 ABU А с CPI (P2) 2 4 3 C1 usage 30% 50% 20% C2 usage 30% 20% 50% C3 usage 50% 30% 20% The above table also contains a summary of three different compilers using instruction set (C1, C2, and C3). C1 is a compiler produced by the markers of P1, C2 is a compiler produced by the makers of P2, and the C3 is a third-part product. Assume that each compiler uses the same number of instructed for a given program but that the instruction mix is as describe in the table. Answer the following questions:
a. Using C1 compiler of both P1 and P2, how much faster can the makers of P1 claim that
P1 is compared to P2?
b. Using C2 compiler on both P1 and P2, how much faster the makers of P2 claim that P2 is
compared to P1?
c. If you purchase P2, which compiler would you use?
Transcribed Image Text:a. Using C1 compiler of both P1 and P2, how much faster can the makers of P1 claim that P1 is compared to P2? b. Using C2 compiler on both P1 and P2, how much faster the makers of P2 claim that P2 is compared to P1? c. If you purchase P2, which compiler would you use?
Expert Solution
steps

Step by step

Solved in 5 steps with 4 images

Blurred answer
Knowledge Booster
Properties of Different Architectures
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education