2 * Copyright (c) 2006 The Regents of The University of Michigan
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;
9 * redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the
11 * documentation and/or other materials provided with the distribution;
12 * neither the name of the copyright holders nor the names of its
13 * contributors may be used to endorse or promote products derived from
14 * this software without specific prior written permission.
16 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
17 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
18 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
19 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
20 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
21 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
22 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 #include "config/use_checker.hh"
33 #include "arch/faults.hh"
34 #include "base/str.hh"
35 #include "cpu/ozone/lw_lsq.hh"
36 #include "cpu/checker/cpu.hh"
39 OzoneLWLSQ<Impl>::WritebackEvent::WritebackEvent(DynInstPtr &_inst, PacketPtr _pkt,
41 : Event(&mainEventQueue), inst(_inst), pkt(_pkt), lsqPtr(lsq_ptr)
43 this->setFlags(Event::AutoDelete);
48 OzoneLWLSQ<Impl>::WritebackEvent::process()
50 if (!lsqPtr->isSwitchedOut()) {
51 lsqPtr->writeback(inst, pkt);
58 OzoneLWLSQ<Impl>::WritebackEvent::description()
60 return "Store writeback event";
65 OzoneLWLSQ<Impl>::DcachePort::recvAtomic(PacketPtr pkt)
67 panic("O3CPU model does not work with atomic mode!");
73 OzoneLWLSQ<Impl>::DcachePort::recvFunctional(PacketPtr pkt)
75 panic("O3CPU doesn't expect recvFunctional callback!");
80 OzoneLWLSQ<Impl>::DcachePort::recvStatusChange(Status status)
82 if (status == RangeChange)
85 panic("O3CPU doesn't expect recvStatusChange callback!");
90 OzoneLWLSQ<Impl>::DcachePort::recvTiming(PacketPtr pkt)
92 lsq->completeDataAccess(pkt);
98 OzoneLWLSQ<Impl>::DcachePort::recvRetry()
105 OzoneLWLSQ<Impl>::completeDataAccess(PacketPtr pkt)
107 LSQSenderState *state = dynamic_cast<LSQSenderState *>(pkt->senderState);
108 DynInstPtr inst = state->inst;
109 DPRINTF(IEW, "Writeback event [sn:%lli]\n", inst->seqNum);
110 DPRINTF(Activity, "Activity: Writeback event [sn:%lli]\n", inst->seqNum);
112 //iewStage->ldstQueue.removeMSHR(inst->threadNumber,inst->seqNum);
114 if (isSwitchedOut() || inst->isSquashed()) {
120 writeback(inst, pkt);
123 if (inst->isStore()) {
124 completeStore(state->idx);
132 template <class Impl>
133 OzoneLWLSQ<Impl>::OzoneLWLSQ()
134 : switchedOut(false), dcachePort(this), loads(0), stores(0),
135 storesToWB(0), storesInFlight(0), stalled(false), isStoreBlocked(false),
136 isLoadBlocked(false), loadBlockedHandled(false)
142 OzoneLWLSQ<Impl>::init(Params *params, unsigned maxLQEntries,
143 unsigned maxSQEntries, unsigned id)
145 DPRINTF(OzoneLSQ, "Creating OzoneLWLSQ%i object.\n",id);
149 LQEntries = maxLQEntries;
150 SQEntries = maxSQEntries;
152 for (int i = 0; i < LQEntries * 2; i++) {
160 cachePorts = params->cachePorts;
162 loadFaultInst = storeFaultInst = memDepViolator = NULL;
164 blockedLoadSeqNum = 0;
169 OzoneLWLSQ<Impl>::name() const
176 OzoneLWLSQ<Impl>::regStats()
179 .name(name() + ".memOrderViolation")
180 .desc("Number of memory ordering violations");
181 OzoneLWLSQ<Impl>::setCPU(OzoneCPU *cpu_ptr)
184 dcachePort.setName(this->name() + "-dport");
188 cpu->checker->setDcachePort(&dcachePort);
195 OzoneLWLSQ<Impl>::clearLQ()
202 OzoneLWLSQ<Impl>::clearSQ()
209 OzoneLWLSQ<Impl>::setPageTable(PageTable *pt_ptr)
211 DPRINTF(OzoneLSQ, "Setting the page table pointer.\n");
217 OzoneLWLSQ<Impl>::resizeLQ(unsigned size)
219 assert( size >= LQEntries);
221 if (size > LQEntries) {
222 while (size > loadQueue.size()) {
224 loadQueue.push_back(dummy);
235 OzoneLWLSQ<Impl>::resizeSQ(unsigned size)
237 if (size > SQEntries) {
238 while (size > storeQueue.size()) {
240 storeQueue.push_back(dummy);
248 template <class Impl>
250 OzoneLWLSQ<Impl>::insert(DynInstPtr &inst)
252 // Make sure we really have a memory reference.
253 assert(inst->isMemRef());
255 // Make sure it's one of the two classes of memory references.
256 assert(inst->isLoad() || inst->isStore());
258 if (inst->isLoad()) {
265 template <class Impl>
267 OzoneLWLSQ<Impl>::insertLoad(DynInstPtr &load_inst)
269 assert(loads < LQEntries * 2);
270 assert(!LQIndices.empty());
271 int load_index = LQIndices.front();
274 DPRINTF(OzoneLSQ, "Inserting load PC %#x, idx:%i [sn:%lli]\n",
275 load_inst->readPC(), load_index, load_inst->seqNum);
277 load_inst->lqIdx = load_index;
279 loadQueue.push_front(load_inst);
280 LQItHash[load_index] = loadQueue.begin();
285 template <class Impl>
287 OzoneLWLSQ<Impl>::insertStore(DynInstPtr &store_inst)
289 // Make sure it is not full before inserting an instruction.
290 assert(stores - storesToWB < SQEntries);
292 assert(!SQIndices.empty());
293 int store_index = SQIndices.front();
296 DPRINTF(OzoneLSQ, "Inserting store PC %#x, idx:%i [sn:%lli]\n",
297 store_inst->readPC(), store_index, store_inst->seqNum);
299 store_inst->sqIdx = store_index;
300 SQEntry entry(store_inst);
301 if (loadQueue.empty()) {
302 entry.lqIt = loadQueue.end();
304 entry.lqIt = loadQueue.begin();
306 storeQueue.push_front(entry);
308 SQItHash[store_index] = storeQueue.begin();
313 template <class Impl>
314 typename Impl::DynInstPtr
315 OzoneLWLSQ<Impl>::getMemDepViolator()
317 DynInstPtr temp = memDepViolator;
319 memDepViolator = NULL;
324 template <class Impl>
326 OzoneLWLSQ<Impl>::numFreeEntries()
328 unsigned free_lq_entries = LQEntries - loads;
329 unsigned free_sq_entries = SQEntries - (stores + storesInFlight);
331 // Both the LQ and SQ entries have an extra dummy entry to differentiate
332 // empty/full conditions. Subtract 1 from the free entries.
333 if (free_lq_entries < free_sq_entries) {
334 return free_lq_entries - 1;
336 return free_sq_entries - 1;
340 template <class Impl>
342 OzoneLWLSQ<Impl>::numLoadsReady()
345 LQIt lq_it = loadQueue.begin();
346 LQIt end_it = loadQueue.end();
348 while (lq_it != end_it) {
349 if ((*lq_it)->readyToIssue()) {
357 template <class Impl>
359 OzoneLWLSQ<Impl>::executeLoad(DynInstPtr &inst)
361 // Execute a specific load.
362 Fault load_fault = NoFault;
364 DPRINTF(OzoneLSQ, "Executing load PC %#x, [sn:%lli]\n",
365 inst->readPC(),inst->seqNum);
367 // Make sure it's really in the list.
368 // Normally it should always be in the list. However,
369 /* due to a syscall it may not be the list.
373 if (i == loadTail && !find(inst)) {
374 assert(0 && "Load not in the queue!");
375 } else if (loadQueue[i] == inst) {
380 if (i >= LQEntries) {
386 load_fault = inst->initiateAcc();
388 // Might want to make sure that I'm not overwriting a previously faulting
389 // instruction that hasn't been checked yet.
390 // Actually probably want the oldest faulting load
391 if (load_fault != NoFault) {
392 DPRINTF(OzoneLSQ, "Load [sn:%lli] has a fault\n", inst->seqNum);
393 if (!(inst->req->flags & UNCACHEABLE && !inst->isAtCommit())) {
396 // Maybe just set it as can commit here, although that might cause
397 // some other problems with sending traps to the ROB too quickly.
398 be->instToCommit(inst);
399 // iewStage->activityThisCycle();
405 template <class Impl>
407 OzoneLWLSQ<Impl>::executeStore(DynInstPtr &store_inst)
409 // Make sure that a store exists.
412 int store_idx = store_inst->sqIdx;
413 SQHashIt sq_hash_it = SQItHash.find(store_idx);
414 assert(sq_hash_it != SQItHash.end());
415 DPRINTF(OzoneLSQ, "Executing store PC %#x [sn:%lli]\n",
416 store_inst->readPC(), store_inst->seqNum);
418 SQIt sq_it = (*sq_hash_it).second;
420 Fault store_fault = store_inst->initiateAcc();
422 // Store size should now be available. Use it to get proper offset for
424 int size = (*sq_it).size;
427 DPRINTF(OzoneLSQ,"Fault on Store PC %#x, [sn:%lli],Size = 0\n",
428 store_inst->readPC(),store_inst->seqNum);
433 assert(store_fault == NoFault);
435 if (!storeFaultInst) {
436 if (store_fault != NoFault) {
437 panic("Fault in a store instruction!");
438 storeFaultInst = store_inst;
439 } else if (store_inst->isStoreConditional()) {
440 // Store conditionals need to set themselves as able to
441 // writeback if we haven't had a fault by here.
442 (*sq_it).canWB = true;
445 DPRINTF(OzoneLSQ, "Nonspeculative store! storesToWB:%i\n",
450 LQIt lq_it = --(loadQueue.end());
452 if (!memDepViolator) {
453 while (lq_it != loadQueue.end()) {
454 if ((*lq_it)->seqNum < store_inst->seqNum) {
458 // Actually should only check loads that have actually executed
459 // Might be safe because effAddr is set to InvalAddr when the
460 // dyn inst is created.
462 // Must actually check all addrs in the proper size range
463 // Which is more correct than needs to be. What if for now we just
464 // assume all loads are quad-word loads, and do the addr based
466 // @todo: Fix this, magic number being used here
467 if (((*lq_it)->effAddr >> 8) ==
468 (store_inst->effAddr >> 8)) {
469 // A load incorrectly passed this store. Squash and refetch.
470 // For now return a fault to show that it was unsuccessful.
471 memDepViolator = (*lq_it);
472 ++lsqMemOrderViolation;
474 return TheISA::genMachineCheckFault();
480 // If we've reached this point, there was no violation.
481 memDepViolator = NULL;
487 template <class Impl>
489 OzoneLWLSQ<Impl>::commitLoad()
491 assert(!loadQueue.empty());
493 DPRINTF(OzoneLSQ, "[sn:%lli] Committing head load instruction, PC %#x\n",
494 loadQueue.back()->seqNum, loadQueue.back()->readPC());
496 LQIndices.push(loadQueue.back()->lqIdx);
497 LQItHash.erase(loadQueue.back()->lqIdx);
499 loadQueue.pop_back();
504 template <class Impl>
506 OzoneLWLSQ<Impl>::commitLoads(InstSeqNum &youngest_inst)
508 assert(loads == 0 || !loadQueue.empty());
511 loadQueue.back()->seqNum <= youngest_inst) {
516 template <class Impl>
518 OzoneLWLSQ<Impl>::commitStores(InstSeqNum &youngest_inst)
520 assert(stores == 0 || !storeQueue.empty());
522 SQIt sq_it = --(storeQueue.end());
523 while (!storeQueue.empty() && sq_it != storeQueue.end()) {
524 assert((*sq_it).inst);
525 if (!(*sq_it).canWB) {
526 if ((*sq_it).inst->seqNum > youngest_inst) {
531 DPRINTF(OzoneLSQ, "Marking store as able to write back, PC "
532 "%#x [sn:%lli], storesToWB:%i\n",
533 (*sq_it).inst->readPC(),
534 (*sq_it).inst->seqNum,
537 (*sq_it).canWB = true;
544 template <class Impl>
546 OzoneLWLSQ<Impl>::writebackStores()
548 SQIt sq_it = --(storeQueue.end());
549 while (storesToWB > 0 &&
550 sq_it != storeQueue.end() &&
553 usedPorts < cachePorts) {
555 if (isStoreBlocked) {
556 DPRINTF(OzoneLSQ, "Unable to write back any more stores, cache"
561 DynInstPtr inst = (*sq_it).inst;
563 if ((*sq_it).size == 0 && !(*sq_it).completed) {
565 removeStore(inst->sqIdx);
570 if (inst->isDataPrefetch() || (*sq_it).committed) {
577 assert((*sq_it).req);
578 assert(!(*sq_it).committed);
580 Request *req = (*sq_it).req;
581 (*sq_it).committed = true;
583 assert(!inst->memData);
584 inst->memData = new uint8_t[64];
585 memcpy(inst->memData, (uint8_t *)&(*sq_it).data,
588 PacketPtr data_pkt = new Packet(req, Packet::WriteReq, Packet::Broadcast);
589 data_pkt->dataStatic(inst->memData);
591 LSQSenderState *state = new LSQSenderState;
592 state->isLoad = false;
593 state->idx = inst->sqIdx;
595 data_pkt->senderState = state;
597 DPRINTF(OzoneLSQ, "D-Cache: Writing back store PC:%#x "
598 "to Addr:%#x, data:%#x [sn:%lli]\n",
599 (*sq_it).inst->readPC(),
600 req->getPaddr(), *(inst->memData),
603 // @todo: Remove this SC hack once the memory system handles it.
604 if (req->getFlags() & LOCKED) {
605 if (req->getFlags() & UNCACHEABLE) {
612 // Hack: Instantly complete this store.
613 completeDataAccess(data_pkt);
619 // Non-store conditionals do not need a writeback.
623 if (!dcachePort.sendTiming(data_pkt)) {
624 // Need to handle becoming blocked on a store.
625 isStoreBlocked = true;
626 assert(retryPkt == NULL);
629 storePostSend(data_pkt, inst);
633 DPRINTF(OzoneLSQ, "D-Cache: Writing back store idx:%i PC:%#x "
634 "to Addr:%#x, data:%#x [sn:%lli]\n",
635 inst->sqIdx,inst->readPC(),
636 req->paddr, *(req->data),
638 DPRINTF(OzoneLSQ, "StoresInFlight: %i\n",
641 if (dcacheInterface) {
642 assert(!req->completionEvent);
643 StoreCompletionEvent *store_event = new
644 StoreCompletionEvent(inst, be, NULL, this);
645 req->completionEvent = store_event;
647 MemAccessResult result = dcacheInterface->access(req);
650 inst->seqNum == stallingStoreIsn) {
651 DPRINTF(OzoneLSQ, "Unstalling, stalling store [sn:%lli] "
653 stallingStoreIsn, (*stallingLoad)->seqNum);
655 stallingStoreIsn = 0;
656 be->replayMemInst((*stallingLoad));
659 if (result != MA_HIT && dcacheInterface->doEvents()) {
660 store_event->miss = true;
661 typename BackEnd::LdWritebackEvent *wb = NULL;
662 if (req->flags & LOCKED) {
663 wb = new typename BackEnd::LdWritebackEvent(inst,
665 store_event->wbEvent = wb;
668 DPRINTF(OzoneLSQ,"D-Cache Write Miss!\n");
670 // DPRINTF(Activity, "Active st accessing mem miss [sn:%lli]\n",
673 be->addDcacheMiss(inst);
675 lastDcacheStall = curTick;
677 _status = DcacheMissStall;
679 // Increment stat here or something
683 DPRINTF(OzoneLSQ,"D-Cache: Write Hit on idx:%i !\n",
686 // DPRINTF(Activity, "Active st accessing mem hit [sn:%lli]\n",
689 if (req->flags & LOCKED) {
690 // Stx_C does not generate a system port
691 // transaction in the 21264, but that might be
692 // hard to accomplish in this model.
694 typename BackEnd::LdWritebackEvent *wb =
695 new typename BackEnd::LdWritebackEvent(inst,
697 store_event->wbEvent = wb;
702 // removeStore(inst->sqIdx);
704 panic("Must HAVE DCACHE!!!!!\n");
709 // Not sure this should set it to 0.
712 assert(stores >= 0 && storesToWB >= 0);
715 template <class Impl>
717 OzoneLWLSQ<Impl>::squash(const InstSeqNum &squashed_num)
719 DPRINTF(OzoneLSQ, "Squashing until [sn:%lli]!"
720 "(Loads:%i Stores:%i)\n",squashed_num,loads,stores+storesInFlight);
723 LQIt lq_it = loadQueue.begin();
725 while (loads != 0 && (*lq_it)->seqNum > squashed_num) {
726 assert(!loadQueue.empty());
727 // Clear the smart pointer to make sure it is decremented.
728 DPRINTF(OzoneLSQ,"Load Instruction PC %#x squashed, "
733 if (isStalled() && lq_it == stallingLoad) {
735 stallingStoreIsn = 0;
742 LQHashIt lq_hash_it = LQItHash.find((*lq_it)->lqIdx);
743 assert(lq_hash_it != LQItHash.end());
744 LQItHash.erase(lq_hash_it);
745 LQIndices.push((*lq_it)->lqIdx);
746 loadQueue.erase(lq_it++);
750 if (squashed_num < blockedLoadSeqNum) {
751 isLoadBlocked = false;
752 loadBlockedHandled = false;
753 blockedLoadSeqNum = 0;
757 SQIt sq_it = storeQueue.begin();
759 while (stores != 0 && (*sq_it).inst->seqNum > squashed_num) {
760 assert(!storeQueue.empty());
762 if ((*sq_it).canWB) {
766 // Clear the smart pointer to make sure it is decremented.
767 DPRINTF(OzoneLSQ,"Store Instruction PC %#x idx:%i squashed [sn:%lli]\n",
768 (*sq_it).inst->readPC(), (*sq_it).inst->sqIdx,
769 (*sq_it).inst->seqNum);
771 // I don't think this can happen. It should have been cleared by the
774 (*sq_it).inst->seqNum == stallingStoreIsn) {
775 panic("Is stalled should have been cleared by stalling load!\n");
777 stallingStoreIsn = 0;
780 SQHashIt sq_hash_it = SQItHash.find((*sq_it).inst->sqIdx);
781 assert(sq_hash_it != SQItHash.end());
782 SQItHash.erase(sq_hash_it);
783 SQIndices.push((*sq_it).inst->sqIdx);
784 (*sq_it).inst = NULL;
788 storeQueue.erase(sq_it++);
792 template <class Impl>
794 OzoneLWLSQ<Impl>::dumpInsts()
796 cprintf("Load store queue: Dumping instructions.\n");
797 cprintf("Load queue size: %i\n", loads);
798 cprintf("Load queue: ");
800 LQIt lq_it = --(loadQueue.end());
802 while (lq_it != loadQueue.end() && (*lq_it)) {
803 cprintf("[sn:%lli] %#x ", (*lq_it)->seqNum,
809 cprintf("\nStore queue size: %i\n", stores);
810 cprintf("Store queue: ");
812 SQIt sq_it = --(storeQueue.end());
814 while (sq_it != storeQueue.end() && (*sq_it).inst) {
815 cprintf("[sn:%lli]\nPC:%#x\nSize:%i\nCommitted:%i\nCompleted:%i\ncanWB:%i\n",
816 (*sq_it).inst->seqNum,
817 (*sq_it).inst->readPC(),
829 template <class Impl>
831 OzoneLWLSQ<Impl>::storePostSend(Packet *pkt, DynInstPtr &inst)
834 inst->seqNum == stallingStoreIsn) {
835 DPRINTF(OzoneLSQ, "Unstalling, stalling store [sn:%lli] "
837 stallingStoreIsn, (*stallingLoad)->seqNum);
839 stallingStoreIsn = 0;
840 be->replayMemInst((*stallingLoad));
843 if (!inst->isStoreConditional()) {
844 // The store is basically completed at this time. This
845 // only works so long as the checker doesn't try to
846 // verify the value in memory for stores.
847 inst->setCompleted();
850 cpu->checker->verify(inst);
855 if (pkt->result != Packet::Success) {
856 DPRINTF(OzoneLSQ,"D-Cache Write Miss!\n");
858 DPRINTF(Activity, "Active st accessing mem miss [sn:%lli]\n",
861 //mshrSeqNums.push_back(storeQueue[storeWBIdx].inst->seqNum);
863 //DPRINTF(OzoneLWLSQ, "Added MSHR. count = %i\n",mshrSeqNums.size());
865 // @todo: Increment stat here.
867 DPRINTF(OzoneLSQ,"D-Cache: Write Hit!\n");
869 DPRINTF(Activity, "Active st accessing mem hit [sn:%lli]\n",
874 template <class Impl>
876 OzoneLWLSQ<Impl>::writeback(DynInstPtr &inst, PacketPtr pkt)
878 // Squashed instructions do not need to complete their access.
879 if (inst->isSquashed()) {
880 assert(!inst->isStore());
884 if (!inst->isExecuted()) {
887 // Complete access to copy data to proper place.
888 inst->completeAcc(pkt);
891 // Need to insert instruction into queue to commit
892 be->instToCommit(inst);
895 template <class Impl>
897 OzoneLWLSQ<Impl>::removeStore(int store_idx)
899 SQHashIt sq_hash_it = SQItHash.find(store_idx);
900 assert(sq_hash_it != SQItHash.end());
901 SQIt sq_it = (*sq_hash_it).second;
903 assert((*sq_it).inst);
904 (*sq_it).completed = true;
905 DynInstPtr inst = (*sq_it).inst;
908 inst->seqNum == stallingStoreIsn) {
909 DPRINTF(OzoneLSQ, "Unstalling, stalling store [sn:%lli] "
911 stallingStoreIsn, (*stallingLoad)->seqNum);
913 stallingStoreIsn = 0;
914 be->replayMemInst((*stallingLoad));
917 DPRINTF(OzoneLSQ, "Completing store idx:%i [sn:%lli], storesToWB:%i\n",
918 inst->sqIdx, inst->seqNum, storesToWB);
920 assert(!storeQueue.empty());
921 SQItHash.erase(sq_hash_it);
922 SQIndices.push(inst->sqIdx);
923 storeQueue.erase(sq_it);
926 template <class Impl>
928 OzoneLWLSQ<Impl>::completeStore(DynInstPtr &inst)
933 inst->setCompleted();
936 cpu->checker->verify(inst);
941 template <class Impl>
943 OzoneLWLSQ<Impl>::recvRetry()
945 panic("Unimplemented!");
948 template <class Impl>
950 OzoneLWLSQ<Impl>::switchOut()
952 assert(storesToWB == 0);
955 // Clear the queue to free up resources
957 assert(storeQueue.empty());
959 assert(loadQueue.empty());
960 assert(storesInFlight == 0);
963 loads = stores = storesToWB = storesInFlight = 0;
966 template <class Impl>
968 OzoneLWLSQ<Impl>::takeOverFrom(ThreadContext *old_tc)
970 // Clear out any old state. May be redundant if this is the first time
971 // the CPU is being used.
973 isLoadBlocked = false;
974 loadBlockedHandled = false;
977 // Could do simple checks here to see if indices are on twice
978 while (!LQIndices.empty())
980 while (!SQIndices.empty())
983 for (int i = 0; i < LQEntries * 2; i++) {
990 loadFaultInst = storeFaultInst = memDepViolator = NULL;
992 blockedLoadSeqNum = 0;