Q1 (100 points): The average CPI (cycles per instruction) for different kinds of instructions for a computer is given in the table below, together with the frequency of each type of instruction for a given program P.
Operation | Frequency | CPI |
---|---|---|
Fixed-point ALU | 40% | 2 |
Floating point | 20% | 15 |
Load | 20% | 5 |