summaryrefslogtreecommitdiff
path: root/src/cpu/inorder/pipeline_stage.hh
diff options
context:
space:
mode:
authorKorey Sewell <ksewell@umich.edu>2011-02-04 00:08:15 -0500
committerKorey Sewell <ksewell@umich.edu>2011-02-04 00:08:15 -0500
commit050944dd7388231a334b81adf65e535058cf13fb (patch)
treed812677c7e66749a12305193d2b04896c7781602 /src/cpu/inorder/pipeline_stage.hh
parent7f937e11e2779628002d063a368ee3101a32471d (diff)
downloadgem5-050944dd7388231a334b81adf65e535058cf13fb.tar.xz
inorder: change skidBuffer to list instead of queue
manage insertion and deletion like a queue but will need access to internal elements for future changes Currently, skidbuffer manages any instruction that was in a stage but could not complete processing, however we will want to manage all blocked instructions (from prev stage and from cur. stage) in just one buffer.
Diffstat (limited to 'src/cpu/inorder/pipeline_stage.hh')
-rw-r--r--src/cpu/inorder/pipeline_stage.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/inorder/pipeline_stage.hh b/src/cpu/inorder/pipeline_stage.hh
index a562a6415..fb8ec593e 100644
--- a/src/cpu/inorder/pipeline_stage.hh
+++ b/src/cpu/inorder/pipeline_stage.hh
@@ -284,7 +284,7 @@ class PipelineStage
std::list<DynInstPtr> instsToNextStage;
/** Skid buffer between previous stage and this one. */
- std::queue<DynInstPtr> skidBuffer[ThePipeline::MaxThreads];
+ std::list<DynInstPtr> skidBuffer[ThePipeline::MaxThreads];
/** Instruction used to signify that there is no *real* instruction in
* buffer slot */