diff -r 116396961ad1 -r a16d9143689d src/cpu/o3/iew.hh --- a/src/cpu/o3/iew.hh Sat Jan 12 22:11:16 2013 -0600 +++ b/src/cpu/o3/iew.hh Sun Jan 13 17:22:11 2013 -0600 @@ -213,7 +213,8 @@ void incrWb(InstSeqNum &sn) { - if (++wbOutstanding == wbMax) + ++wbOutstanding; + if (wbOutstanding == wbMax) ableToIssue = false; DPRINTF(IEW, "wbOutstanding: %i [sn:%lli]\n", wbOutstanding, sn); assert(wbOutstanding <= wbMax); @@ -224,8 +225,9 @@ void decrWb(InstSeqNum &sn) { - if (wbOutstanding-- == wbMax) + if (wbOutstanding == wbMax) ableToIssue = true; + wbOutstanding--; DPRINTF(IEW, "wbOutstanding: %i [sn:%lli]\n", wbOutstanding, sn); assert(wbOutstanding >= 0); #ifdef DEBUG