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