From: Steve Reinhardt Date: Mon, 23 Jul 2007 15:18:51 +0000 (-0700) Subject: Fix WriteReq/StoreCondReq setting in O3. X-Git-Tag: m5_2.0_beta4~195^2~37 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=97f7ee2e507733eb9dd1802c16900fd14ae6b7f3;p=gem5.git Fix WriteReq/StoreCondReq setting in O3. --HG-- extra : convert_revision : b41571535f3d1f78df3cb6e48c16de5c7549d87f --- diff --git a/src/cpu/o3/lsq_unit_impl.hh b/src/cpu/o3/lsq_unit_impl.hh index 5ae1cc0e4..8b2e82d8e 100644 --- a/src/cpu/o3/lsq_unit_impl.hh +++ b/src/cpu/o3/lsq_unit_impl.hh @@ -649,7 +649,7 @@ LSQUnit::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);