Fix assertion. I haven't tested it fully (I can't reproduce Lisa's error) but I believe it should fix what she's running into (which was definitely a bug).

src/cpu/o3/fetch_impl.hh:
    Move assertion to area where it should really always be true.  Sometimes you might recvRetry and not necessarily be blocked (if there was a squash).

--HG--
extra : convert_revision : 76ad35357e7f4c44fa544ffed071096a62053018
This commit is contained in:
Kevin Lim 2006-10-13 17:35:23 -04:00
parent ca4063ac00
commit a50e83c134

View file

@ -1285,8 +1285,8 @@ template<class Impl>
void void
DefaultFetch<Impl>::recvRetry() DefaultFetch<Impl>::recvRetry()
{ {
assert(cacheBlocked);
if (retryPkt != NULL) { if (retryPkt != NULL) {
assert(cacheBlocked);
assert(retryTid != -1); assert(retryTid != -1);
assert(fetchStatus[retryTid] == IcacheWaitRetry); assert(fetchStatus[retryTid] == IcacheWaitRetry);