Question: Exercise 1 . 1 5 . 8 Compilers can have a profound impact on the performance of an application. Assume that for a program, compiler
Exercise
Compilers can have a profound impact on the performance of an application. Assume that for a program, compiler A results in a dynamic instruction count of and has an execution time of while compiler results in a dynamic instruction count of and an execution time of
a Find the average CPI for each program given that the processor has a clock cycle time of
b Assume 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 As code versus the clock of the processor running compiler Bs code?
c A new compiler is developed that uses only instructions and has an average I of What is the speedup of using this new compiler versus using compiler or on the original processor?
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
