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);
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