Question: (20 pts) Assume that a machine includes a floating point (FP) unit, which contains an FP square root FPSQR) instruction. Suppose we have the
(20 pts) Assume that a machine includes a floating point (FP) unit, which contains an FP square root FPSQR) instruction. Suppose we have the following measurements. Frequency of FP operations = 30%, Frequency of FPSQR = 4% Average CPI of FP operations = 4.0, CPI of FPSQR = 20 Average CPI of other instructions (non-FP instructions) = 1.4 a. What is the average CPI of the machine? b. If the average CPI of FP is decreased to 3, what is the average CPI of the new machine? c. If the CPI of FPSQR is decreased to 2, what is the average CPI of the new machine? d. Which design improvement is better of b and c?
Step by Step Solution
There are 3 Steps involved in it
To solve these questions well apply the concept of weighted average since the average cycles per instruction CPI for the machine is the sum of the pro... View full answer
Get step-by-step solutions from verified subject matter experts
