From: Kevin Lim Date: Fri, 9 Jun 2006 21:21:37 +0000 (-0400) Subject: Two minor fixes. X-Git-Tag: m5_2.0_beta1~36^2~88 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=caca57421b32410f6ff1356ae75684891337073f;p=gem5.git Two minor fixes. src/cpu/o3/lsq_unit_impl.hh: Missed this name change. src/cpu/thread_state.cc: Fix for stats. --HG-- extra : convert_revision : 50ea862f97f2fbc75c1c03d5700df1e8f2c0d122 --- diff --git a/src/cpu/o3/lsq_unit_impl.hh b/src/cpu/o3/lsq_unit_impl.hh index 9f3a123a0..6f32ec304 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 9525861e5..dcfa93c3e 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