Example 3 (contd.)
Program CPI original = (4 * 25/100) + (1.33 *75/100) = 2.0
Program CPI new FPSQR = CPI original -- 2% (Old CPI for FPSQR -- New CPI for FPSQR)
= CPI original -- (2/100)* (20 -- 2) = 2.0 - 0.02 * 18 = 1.64
Program CPI new FP = (2 * 25/100) + (1.33 * 75/100) = 1.5
Speed up of Design 2: 2.00/1.5 = 1.33, same as computed by Amdahl’s law!