1 2/* 3 * Copyright (c) 2010-2013 ARM Limited 4 * Copyright (c) 2013 Advanced Micro Devices, Inc. 5 * All rights reserved 6 * 7 * The license below extends only to copyright in the software and shall 8 * not be construed as granting a license to any other intellectual --- 95 unchanged lines hidden (view full) --- 104 // If this is a split access, wait until all packets are received. 105 if (TheISA::HasUnalignedMemAcc && !state->complete()) { 106 delete pkt->req; 107 delete pkt; 108 return; 109 } 110 111 assert(!cpu->switchedOut()); |
112 if (!inst->isSquashed()) { |
113 if (!state->noWB) { 114 if (!TheISA::HasUnalignedMemAcc || !state->isSplit || 115 !state->isLoad) { 116 writeback(inst, pkt); 117 } else { 118 writeback(inst, state->mainPkt); 119 } 120 } --- 1002 unchanged lines hidden (view full) --- 1123template <class Impl> 1124void 1125LSQUnit<Impl>::writeback(DynInstPtr &inst, PacketPtr pkt) 1126{ 1127 iewStage->wakeCPU(); 1128 1129 // Squashed instructions do not need to complete their access. 1130 if (inst->isSquashed()) { |
1131 assert(!inst->isStore()); 1132 ++lsqIgnoredResponses; 1133 return; 1134 } 1135 1136 if (!inst->isExecuted()) { 1137 inst->setExecuted(); 1138 --- 196 unchanged lines hidden --- |