diff options
author | Korey Sewell <ksewell@umich.edu> | 2011-06-19 21:43:39 -0400 |
---|---|---|
committer | Korey Sewell <ksewell@umich.edu> | 2011-06-19 21:43:39 -0400 |
commit | d71b95d84d5aac6926f6cd4c7faca20f2c43d8dc (patch) | |
tree | 7dd57b7bfcf558490f739fe8a476e2aa26c46812 /src/cpu/inorder/resources/fetch_unit.cc | |
parent | b72bdcf4f896ba9bc8ddca1872e7f897965127ee (diff) | |
download | gem5-d71b95d84d5aac6926f6cd4c7faca20f2c43d8dc.tar.xz |
inorder: remove memdep tracking for default pipeline
speculative load/store pipelines can reenable this
Diffstat (limited to 'src/cpu/inorder/resources/fetch_unit.cc')
-rw-r--r-- | src/cpu/inorder/resources/fetch_unit.cc | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/cpu/inorder/resources/fetch_unit.cc b/src/cpu/inorder/resources/fetch_unit.cc index 52997917d..28200c852 100644 --- a/src/cpu/inorder/resources/fetch_unit.cc +++ b/src/cpu/inorder/resources/fetch_unit.cc @@ -118,27 +118,6 @@ FetchUnit::createMachInst(std::list<FetchBlock*>::iterator fetch_it, inst->setMachInst(ext_inst); } -int -FetchUnit::getSlot(DynInstPtr inst) -{ - if (tlbBlocked[inst->threadNumber]) { - return -1; - } - - if (!inst->validMemAddr()) { - panic("[tid:%i][sn:%i] Mem. Addr. must be set before requesting " - "cache access\n", inst->readTid(), inst->seqNum); - } - - int new_slot = Resource::getSlot(inst); - - if (new_slot == -1) - return -1; - - inst->memTime = curTick(); - return new_slot; -} - void FetchUnit::removeAddrDependency(DynInstPtr inst) { |