midterm_solution_sp03

# midterm_solution_sp03 - Here's a solution to the midterm...

This preview shows pages 1–3. Sign up to view the full content.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
c) The floating-point CPI is changed to 3. Average CPI (old) = 0.40 * 1 + 0.30 * 5 + 0.30 * 2 = 2.5 Average CPI (enhanced) = 0.40 * 1 + 0.30 * 3 + 0.30 * 2 = 1.9 Speedup (computation) = 2.5 / 1.9 = 1.316 Speedup = 1 / ((1 - 0.82) + 0.82 / 1.316) = 1.245 ii. Part a results in the best speedup iii. If the disk was infinitely fast: speedup = 1 / (1 - 0.18) = 1.22 <= still slower than part a If the floating-point computation was infinitely fast: Average CPI (old) = 2.5 (from part i) Average CPI (enhanced) = 0.40 * 1 + 0.30 * 0 + 0.30 * 2 = 1
This is the end of the preview. Sign up to access the rest of the document.

## This test prep was uploaded on 03/29/2008 for the course ECE 552 taught by Professor Wood during the Spring '05 term at Wisconsin.

### Page1 / 5

midterm_solution_sp03 - Here's a solution to the midterm...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online