Exercises from Patterson and Hennessy

Exercise 2.18

a. What is the CPI for a machine (Mbase) with a clock rate of 500MHz, with the following measurements of the performance of instructions:

Instruction class CPI Frequency
A 2 40%
B 3 25%
C 3 25%
D 5 10%

b. What is the CPI for a machine (Mopt) with a clock rate of 600MHz, with the following measurements of the performance of instructions:

Instruction class CPI Frequency
A 2 40%
B 2 25%
C 3 25%
D 4 10%

Exercise 2.19

What is the MIPS rating for Mbase?

What is the MIPS rating for Mopt?

Exercise 2.20

How much faster is Mopt than Mbase?


CSE 378 Spring 2002 - Section 5
First Previous Page 1 Next Last