Question: HELP Compilers can have a profound impact on the performance of an application. Assume that for a program, compiler A results in a dynamic instruction
HELP 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 2.8E8 and has an execution time of 3.5 s, while compiler B results in a dynamic instruction count of 3.5E8 and an execution time of 5.8 s.

a. (10 points) Find the average CPI for each program given that the processor has a clock cycle time of 2.8ns. b. (10 points) 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 A's code versus the clock of the processor running compiler B's code? c. (10 points) A new compiler (compiler C) is developed that uses 4.1E8 instructions and has an average CPI of 2.3. What is the speedup of using this new compiler versus using compiler A or B on the original processor
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
