Question: Q . 2 ) Compilers can significantly impact the performance of an application. Assume the fol - lowing for a program: Compiler X: Dynamic Instruction
Q Compilers can significantly impact the performance of an application. Assume the fol
lowing for a program:
Compiler X:
Dynamic Instruction Count
Execution Time seconds
Compiler Y:
Dynamic Instruction Count
Execution Time seconds
Consider the processor has a clock cycle time of ns answer the following questions:
a Find the average CPI for each compiler given the clock cycle time.
b Assuming 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 rate of the
processor running Compiler Xs code compared to the clock rate of the processor
running Compiler Ys code?
c A new compiler is developed that uses instructions and has an average CPI
of What is the speedup of using this new compiler over using Gmpiler X or
Compiler Y on the original processor? Compare results to part a
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
