Question: Question 2 4 pts Compilers can have a profound impact on the performance of an application. Assume that for a program, compiler A results in

Question 2
4 pts
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 1.0E9(which is 1.0**10) and has an execution time of 1.1s, while compiler B results in a dynamic instruction count of 1.2E9(which is 1.2**109) and an execution time of 1.5s.
Question: Select two answers for each program compiled using compiler A and compiler B given that the processor has a clock cycle of 1ns.
CPI of the program compiled with the compiler B is 2.1.
CPI of the program compiled with the compiler B is 1.25.
CPI of the program compiled with the compiler A is 1.1.
CPI of the program compiled with the compiler A is 1.5.
CPI of the program compiled with the compiler A is 1.0.
CPI of the program compiled with the compiler B is 1.67.
 Question 2 4 pts Compilers can have a profound impact on

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!