summaryrefslogtreecommitdiff
path: root/src/cpu/inorder/resource.cc
diff options
context:
space:
mode:
authorKorey Sewell <ksewell@umich.edu>2011-06-19 21:43:41 -0400
committerKorey Sewell <ksewell@umich.edu>2011-06-19 21:43:41 -0400
commit716e447da8424386f2c3448c17891927aeb49f67 (patch)
tree7cd5ba23161faa0a5337b5a7add3f75569bbfd76 /src/cpu/inorder/resource.cc
parent83a0fd24f72ed46e71c015c23b723c04d39ca93c (diff)
downloadgem5-716e447da8424386f2c3448c17891927aeb49f67.tar.xz
inorder: handle serializing instructions
including IPR accesses and store-conditionals. These class of instructions will not execute correctly in a superscalar machine
Diffstat (limited to 'src/cpu/inorder/resource.cc')
-rw-r--r--src/cpu/inorder/resource.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cpu/inorder/resource.cc b/src/cpu/inorder/resource.cc
index b7f6a8db6..9eec63062 100644
--- a/src/cpu/inorder/resource.cc
+++ b/src/cpu/inorder/resource.cc
@@ -272,6 +272,7 @@ Resource::rejectRequest(DynInstPtr inst)
void
Resource::execute(int slot_idx)
{
+ //@todo: have each resource print out command their executing
DPRINTF(Resource, "[tid:%i]: Executing %s resource.\n",
reqs[slot_idx]->getTid(), name());
reqs[slot_idx]->setCompleted(true);