summaryrefslogtreecommitdiff
path: root/src/cpu/inorder/first_stage.cc
diff options
context:
space:
mode:
authorKorey Sewell <ksewell@umich.edu>2009-05-12 15:01:15 -0400
committerKorey Sewell <ksewell@umich.edu>2009-05-12 15:01:15 -0400
commit3603dd25efb70ec400e8ea1e76137e8e288e533a (patch)
tree2cfa5d08686ca4eb4f1fb5af0f58688cb6d0affd /src/cpu/inorder/first_stage.cc
parentc9a03f549b63dbf2e6e192bce02c57c48cec05e2 (diff)
downloadgem5-3603dd25efb70ec400e8ea1e76137e8e288e533a.tar.xz
inorder-fetch: update model to use predecoder
Diffstat (limited to 'src/cpu/inorder/first_stage.cc')
-rw-r--r--src/cpu/inorder/first_stage.cc9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/cpu/inorder/first_stage.cc b/src/cpu/inorder/first_stage.cc
index 5e389b256..cc0af13f9 100644
--- a/src/cpu/inorder/first_stage.cc
+++ b/src/cpu/inorder/first_stage.cc
@@ -135,9 +135,10 @@ FirstStage::processInsts(unsigned tid)
new_inst = true;
inst = new InOrderDynInst(cpu,
- cpu->thread[tid],
- cpu->nextInstSeqNum(tid),
- tid);
+ cpu->thread[tid],
+ cpu->nextInstSeqNum(tid),
+ tid,
+ tid);
#if TRACING_ON
inst->traceData =
@@ -145,6 +146,8 @@ FirstStage::processInsts(unsigned tid)
cpu->stageTracing,
cpu->thread[tid]->getTC());
+#else
+ inst->traceData = NULL;
#endif // TRACING_ON
DPRINTF(RefCount, "creation: [tid:%i]: [sn:%i]: Refcount = %i.\n",