summaryrefslogtreecommitdiff
path: root/src/cpu/inorder/resources/decode_unit.cc
diff options
context:
space:
mode:
authorKorey Sewell <ksewell@umich.edu>2011-06-19 21:43:37 -0400
committerKorey Sewell <ksewell@umich.edu>2011-06-19 21:43:37 -0400
commit4c9ad53cc509e840d088db4a863c9cd932132635 (patch)
treea1762f0feed3486c2f86781358053153782742be /src/cpu/inorder/resources/decode_unit.cc
parenta444133e7359e258a20d32f7f0cc22fa07d87945 (diff)
downloadgem5-4c9ad53cc509e840d088db4a863c9cd932132635.tar.xz
inorder: remove decode squash
also, cleanup comments for gem5.fast compilation
Diffstat (limited to 'src/cpu/inorder/resources/decode_unit.cc')
-rw-r--r--src/cpu/inorder/resources/decode_unit.cc17
1 files changed, 3 insertions, 14 deletions
diff --git a/src/cpu/inorder/resources/decode_unit.cc b/src/cpu/inorder/resources/decode_unit.cc
index 1ba5c204a..d15428436 100644
--- a/src/cpu/inorder/resources/decode_unit.cc
+++ b/src/cpu/inorder/resources/decode_unit.cc
@@ -54,7 +54,6 @@ DecodeUnit::execute(int slot_num)
{
ResourceRequest* decode_req = reqs[slot_num];
DynInstPtr inst = reqs[slot_num]->inst;
- ThreadID tid = inst->readTid();
switch (decode_req->cmd)
{
@@ -71,11 +70,12 @@ DecodeUnit::execute(int slot_num)
if (inst->backSked != NULL) {
DPRINTF(InOrderDecode,
"[tid:%i]: Back End Schedule created for %s [sn:%i].\n",
- tid, inst->instName(), inst->seqNum);
+ inst->readTid(), inst->instName(), inst->seqNum);
decode_req->done();
} else {
DPRINTF(Resource,
- "[tid:%i] Static Inst not available to decode.\n", tid);
+ "[tid:%i] Static Inst not available to decode.\n",
+ inst->readTid());
DPRINTF(Resource,
"Unable to create schedule for instruction [sn:%i] \n",
inst->seqNum);
@@ -90,14 +90,3 @@ DecodeUnit::execute(int slot_num)
}
}
-
-void
-DecodeUnit::squash(DynInstPtr inst, int stage_num, InstSeqNum squash_seq_num,
- ThreadID tid)
-{
- DPRINTF(InOrderDecode,
- "[tid:%i]: Updating due to squash from stage %i after [sn:%i].\n",
- tid, stage_num, squash_seq_num);
-
- //cpu->removeInstsUntil(squash_seq_num, tid);
-}