Consider two different implementations, 11 andi2, of the same instruction set. There are three classes ofinstructions (A, B, and C) in the instruction set. 11 has a clockrate of 5 GHz, and 12 has a clock rate of 7 GHz. The average numberof cycles for each instruction class on 11 and 12 is given in thefollowing table: Class CPI on 11 CPI on 12 C1 Usage C2 Usage C3 Usage A 30% 25% 5% 40% 25% 90% 2. 30% 50% 5% The table also contains a summary of average proportion ofinstruction classes generated by three different compilers, C1, C2,and C3. Assume that each compiler uses the same number ofinstructions for a given program but that the instruction mix is asdescribed in the table. a). Using C1, compute the average CPI for each of 11 and 12Then compute the speed, that is the average number of instructionsper second for each of 11 and 12. Then decide which one is fasterthan the other? and in what ratio? b). Using C2, compute the average CPI for each of 11 and 12Then compute the speed, that is the average number of instructionsper second for each of 11 and 12. Then decide which one is fasterthan the other? and in what ratio?

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
i Consider two different implementations, 11 and12, of the same instruction set. There are three
classes ofinstructions (A, B, and C) in the instruction set. 11 has a clockrate of 5 GHz, and 12 has a clock rate
of 7 GHz. The average numberof cycles for each instruction class on 11 and 12 is given in thefollowing table:
Class
CPI on 11
CPI on 12
C1 Usage
C2 Usage
C3 Usage
A
30%
25%
5%
B
1
2.
40%
25%
90%
4
2
30%
50%
5%
The table also contains a summary of average proportion ofinstruction classes generated by three different
compilers, C1, C2,and C3. Assume that each compiler uses the same number ofinstructions for a given
program but that the instruction mix is asdescribed in the table.
a). Using C1, compute the average CPI for each of 1 and 12Then compute the speed, that is the average
number of instructionsper second for each of 1 and 12. Then decide which one is fasterthan the other? and
in what ratio?
b). Using C2, compute the average CPI for each of 11 and 12Then compute the speed, that is the average
number of instructionsper second for each of 11 and 12. Then decide which one is fasterthan the other? and
in what ratio?
Transcribed Image Text:i Consider two different implementations, 11 and12, of the same instruction set. There are three classes ofinstructions (A, B, and C) in the instruction set. 11 has a clockrate of 5 GHz, and 12 has a clock rate of 7 GHz. The average numberof cycles for each instruction class on 11 and 12 is given in thefollowing table: Class CPI on 11 CPI on 12 C1 Usage C2 Usage C3 Usage A 30% 25% 5% B 1 2. 40% 25% 90% 4 2 30% 50% 5% The table also contains a summary of average proportion ofinstruction classes generated by three different compilers, C1, C2,and C3. Assume that each compiler uses the same number ofinstructions for a given program but that the instruction mix is asdescribed in the table. a). Using C1, compute the average CPI for each of 1 and 12Then compute the speed, that is the average number of instructionsper second for each of 1 and 12. Then decide which one is fasterthan the other? and in what ratio? b). Using C2, compute the average CPI for each of 11 and 12Then compute the speed, that is the average number of instructionsper second for each of 11 and 12. Then decide which one is fasterthan the other? and in what ratio?
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Similar 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