summaryrefslogtreecommitdiff
path: root/src/cpu/inorder/pipeline_stage.cc
diff options
context:
space:
mode:
authorKorey Sewell <ksewell@umich.edu>2010-01-31 18:30:59 -0500
committerKorey Sewell <ksewell@umich.edu>2010-01-31 18:30:59 -0500
commitc7f6e2661c958d996479ae9fe8c8cf2c8a9482f6 (patch)
treed78a7ba5dc62904179d13f612a0138bdccd7de79 /src/cpu/inorder/pipeline_stage.cc
parent9357e353fc976a409fb0cb3a875b402f452577f7 (diff)
downloadgem5-c7f6e2661c958d996479ae9fe8c8cf2c8a9482f6.tar.xz
inorder: double delete inst bug
Make sure that instructions are dereferenced/deleted twice by marking they are on the remove list
Diffstat (limited to 'src/cpu/inorder/pipeline_stage.cc')
-rw-r--r--src/cpu/inorder/pipeline_stage.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cpu/inorder/pipeline_stage.cc b/src/cpu/inorder/pipeline_stage.cc
index 571cf10bb..dcf4d81bf 100644
--- a/src/cpu/inorder/pipeline_stage.cc
+++ b/src/cpu/inorder/pipeline_stage.cc
@@ -380,6 +380,7 @@ PipelineStage::squashPrevStageInsts(InstSeqNum squash_seq_num, ThreadID tid)
for (int i=0; i < prevStage->size; i++) {
if (prevStage->insts[i]->threadNumber == tid &&
prevStage->insts[i]->seqNum > squash_seq_num) {
+ // Change Comment to Annulling previous instruction
DPRINTF(InOrderStage, "[tid:%i]: Squashing instruction, "
"[sn:%i] PC %08p.\n",
tid,