Question: Compilers can have a profound impact on the performance of an application on given a processor. This problem will explore the impact compilers have on
Compilers can have a profound impact on the performance of an application on given a processor. This problem will explore the impact compilers have on execution time.
For the same program, two different compilers are used. The table above shows the execution time of the two different compiled programs. Find the average CPI for each program given that the processor has a clock cycle time of 1 ns.
a. b. Compiler A No. Instructions 1.00E+09 1.00E+09 Execution Time 1.8 s 1.1 s Compiler B No. Instructions 1.20E+09 1.20E+09 Execution Time 1.8 s 1.5 s
Step by Step Solution
3.44 Rating (144 Votes )
There are 3 Steps involved in it
To find the average CPI Cycles Per Instruction for each program yo... View full answer
Get step-by-step solutions from verified subject matter experts
