Question: Q 6 : Consider the computer with three instruction classes and CPI measurements as in the following table: table [ [ , CPI for

Q6: Consider the computer with three instruction classes and CPI measurements as in the following table:
\table[[,CPI for this instruction class],[A,B,C],[CPI,1,2,3]]
Now suppose we measure the code for the same program from two different compilers and obtain the following data:
\table[[,\table[[Instruction counts (in billions)],[for each instruction class]]],[A,B,C],[Compiler 1,5,1,1],[Compiler 2,10,1,1]]
Assume that the computer's clock rate is 4GHz.
(a) Which compiler will execute faster according to CPU execution time?
(b) Which compiler will execute faster according to MIPS?
 Q6: Consider the computer with three instruction classes and CPI measurements

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!