Two minor fixes.
authorKevin Lim <ktlim@umich.edu>
Fri, 9 Jun 2006 21:21:37 +0000 (17:21 -0400)
committerKevin Lim <ktlim@umich.edu>
Fri, 9 Jun 2006 21:21:37 +0000 (17:21 -0400)
src/cpu/o3/lsq_unit_impl.hh:
    Missed this name change.
src/cpu/thread_state.cc:
    Fix for stats.

--HG--
extra : convert_revision : 50ea862f97f2fbc75c1c03d5700df1e8f2c0d122

src/cpu/o3/lsq_unit_impl.hh
src/cpu/thread_state.cc

index 9f3a123a0848e5cb7c973e0cb84c6b79b71c3fde..6f32ec304b9c1eec7ba799c1522f6e0fcf4269e0 100644 (file)
@@ -853,7 +853,7 @@ LSQUnit<Impl>::recvRetry()
 
         if (dcachePort->sendTiming(retryPkt)) {
             storePostSend(retryPkt);
-            sendingPkt = NULL;
+            retryPkt = NULL;
             isStoreBlocked = false;
         } else {
             // Still blocked!
index 9525861e5518134f846fd9a8263ae84be22847da..dcfa93c3e9101d2b4b1688f41d31981610b98251 100644 (file)
@@ -45,6 +45,8 @@ ThreadState::ThreadState(int _cpuId, int _tid, MemObject *mem,
       funcExeInst(0), storeCondFailures(0)
 #endif
 {
+    numInst = 0;
+    numLoad = 0;
 }
 
 #if FULL_SYSTEM