next up previous
Next: Problem 3 Up: work3 Previous: Problem 1

Problem 2

Again, compute the CPI for one iteration of the loop, but this time assume that the machine stalls until the target is known, using a branch penalty of 2 clock cycles before the correct next instruction can be selected. Use this to estimate the total CPI for the loop.



MM Hugue 2002-10-17

Web Accessibility