Please Help ASAP!!!

Systems Architecture
7th Edition
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Stephen D. Burd
Chapter10: Application Development
Section: Chapter Questions
Problem 7RQ
icon
Related questions
Question

Please Help ASAP!!!

 

1. For the same program, two different compilers are used. The table below shows the execution time of
the two different compiled programs.
Compiler A
Execution Time
Compiler B
# instructions
1.00 E+09
1.00 E+09
# instructions
1.20 E+09
1.20 E+09
Execution Time
Program 1
Program 2
1s
1.4s
0.8s
0.7s
a) Find the average CPI for each program given that the processor has a clock cycle time of
Ins.
b) Assume the average CPIS found in part (a), but that the compiled programs run on two different
processors. If the execution times on the two processors are the same, how much faster is the clock of the
processor running compiler A's code versus the clock of the processor running compiler B's code?
c) A new compiler is developed that uses only 600 million instructions and has an average CPI of 1.1.
What is the speed-up of using this new compiler versus using Compiler A or B on the original processor
of part (a)?
Transcribed Image Text:1. For the same program, two different compilers are used. The table below shows the execution time of the two different compiled programs. Compiler A Execution Time Compiler B # instructions 1.00 E+09 1.00 E+09 # instructions 1.20 E+09 1.20 E+09 Execution Time Program 1 Program 2 1s 1.4s 0.8s 0.7s a) Find the average CPI for each program given that the processor has a clock cycle time of Ins. b) Assume the average CPIS found in part (a), but that the compiled programs run on two different processors. If the execution times on the two processors are the same, how much faster is the clock of the processor running compiler A's code versus the clock of the processor running compiler B's code? c) A new compiler is developed that uses only 600 million instructions and has an average CPI of 1.1. What is the speed-up of using this new compiler versus using Compiler A or B on the original processor of part (a)?
Expert Solution
steps

Step by step

Solved in 4 steps

Blurred answer
Knowledge Booster
Threats
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
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning