Q4: Consider the computer with three instruction classes and CPI measurements as in the following table: CPI for this in
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Q4: Consider the computer with three instruction classes and CPI measurements as in the following table: CPI for this in
Q4: Consider the computer with three instruction classes and CPI measurements as in the following table: CPI for this instruction class A B с CPI 1 2 3 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 A B С Compiler 1 5 1 1 Compiler 2 10 1 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?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!