diff options
author | Korey Sewell <ksewell@umich.edu> | 2010-01-31 18:30:59 -0500 |
---|---|---|
committer | Korey Sewell <ksewell@umich.edu> | 2010-01-31 18:30:59 -0500 |
commit | c7f6e2661c958d996479ae9fe8c8cf2c8a9482f6 (patch) | |
tree | d78a7ba5dc62904179d13f612a0138bdccd7de79 /src/cpu/inorder/pipeline_stage.cc | |
parent | 9357e353fc976a409fb0cb3a875b402f452577f7 (diff) | |
download | gem5-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.cc | 1 |
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, |