From d3e361f60741ea9ebea06375c8525385014dd9d2 Mon Sep 17 00:00:00 2001 From: Iru Cai Date: Sun, 12 May 2019 16:20:05 +0800 Subject: finally runs dhrystone Change-Id: I7466a825f8726682622d237460311a1c4b23b8ad --- src/cpu/o3/inst_queue_impl.hh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/cpu/o3/inst_queue_impl.hh') diff --git a/src/cpu/o3/inst_queue_impl.hh b/src/cpu/o3/inst_queue_impl.hh index 0a6d309fe..a30bf7f5f 100644 --- a/src/cpu/o3/inst_queue_impl.hh +++ b/src/cpu/o3/inst_queue_impl.hh @@ -1182,8 +1182,12 @@ InstructionQueue::getDeferredMemInstToExecute() // 2. virtual fence ahead // 3. not ready to expose and gets a TLB miss // for both (2, 3) we need to restart the translation + + DPRINTF(IQ, "sn:%lli onlyWaitForFence = %d, fenceDelay = %d\n", (*it)->seqNum, (*it)->onlyWaitForFence(), (*it)->fenceDelay() ); + if ( (*it)->translationCompleted() || ((*it)->onlyWaitForFence() && !(*it)->fenceDelay()) + || ((*it)->onlyWaitForExpose() && (*it)->readyToExpose()) || (*it)->isSquashed()) { DynInstPtr mem_inst = std::move(*it); mem_inst->onlyWaitForFence(false); -- cgit v1.2.3