summaryrefslogtreecommitdiff
path: root/src/cpu/inorder/pipeline_traits.hh
diff options
context:
space:
mode:
authorKorey Sewell <ksewell@umich.edu>2010-01-31 18:25:27 -0500
committerKorey Sewell <ksewell@umich.edu>2010-01-31 18:25:27 -0500
commita892af7b261e1c48b06ccbded5551e958c778414 (patch)
tree62f582c53677bb485f791b97ad1ed98ca90c2a10 /src/cpu/inorder/pipeline_traits.hh
parent0e96798fe0a56936f8590dbd301f2b07a1850e22 (diff)
downloadgem5-a892af7b261e1c48b06ccbded5551e958c778414.tar.xz
inorder: dont allow early loads
- loads were happening on same cycle as the address was generated which is slightly unrealistic. Instead, force address generation to be on separate cycle from load initiation - also, mark the stages in a more traditional way (F-D-X-M-W)
Diffstat (limited to 'src/cpu/inorder/pipeline_traits.hh')
-rw-r--r--src/cpu/inorder/pipeline_traits.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cpu/inorder/pipeline_traits.hh b/src/cpu/inorder/pipeline_traits.hh
index 3c28894e7..ddc8a3ad7 100644
--- a/src/cpu/inorder/pipeline_traits.hh
+++ b/src/cpu/inorder/pipeline_traits.hh
@@ -113,7 +113,8 @@ namespace ThePipeline {
};
struct entryCompare {
- bool operator()(const ScheduleEntry* lhs, const ScheduleEntry* rhs) const
+ bool operator()(const ScheduleEntry* lhs, const ScheduleEntry* rhs)
+ const
{
// Prioritize first by stage number that the resource is needed
if (lhs->stageNum > rhs->stageNum) {