diff --git a/src/cpu/o3/lsq_unit_impl.hh b/src/cpu/o3/lsq_unit_impl.hh index 9f3a123a08..6f32ec304b 100644 --- a/src/cpu/o3/lsq_unit_impl.hh +++ b/src/cpu/o3/lsq_unit_impl.hh @@ -853,7 +853,7 @@ LSQUnit::recvRetry() if (dcachePort->sendTiming(retryPkt)) { storePostSend(retryPkt); - sendingPkt = NULL; + retryPkt = NULL; isStoreBlocked = false; } else { // Still blocked! diff --git a/src/cpu/thread_state.cc b/src/cpu/thread_state.cc index 9525861e55..dcfa93c3e9 100644 --- a/src/cpu/thread_state.cc +++ b/src/cpu/thread_state.cc @@ -45,6 +45,8 @@ ThreadState::ThreadState(int _cpuId, int _tid, MemObject *mem, funcExeInst(0), storeCondFailures(0) #endif { + numInst = 0; + numLoad = 0; } #if FULL_SYSTEM