Fix WriteReq/StoreCondReq setting in O3.
authorSteve Reinhardt <stever@eecs.umich.edu>
Mon, 23 Jul 2007 15:18:51 +0000 (08:18 -0700)
committerSteve Reinhardt <stever@eecs.umich.edu>
Mon, 23 Jul 2007 15:18:51 +0000 (08:18 -0700)
--HG--
extra : convert_revision : b41571535f3d1f78df3cb6e48c16de5c7549d87f

src/cpu/o3/lsq_unit_impl.hh

index 5ae1cc0e446159aaab8b2dde420cd8cd31aaf952..8b2e82d8ea09b50ff612755d0746c840d55e2cf0 100644 (file)
@@ -649,7 +649,7 @@ LSQUnit<Impl>::writebackStores()
 
         MemCmd command =
             req->isSwap() ? MemCmd::SwapReq :
-            (req->isLocked() ? MemCmd::WriteReq : MemCmd::StoreCondReq);
+            (req->isLocked() ? MemCmd::StoreCondReq : MemCmd::WriteReq);
         PacketPtr data_pkt = new Packet(req, command,
                                         Packet::Broadcast);
         data_pkt->dataStatic(inst->memData);