summaryrefslogtreecommitdiff
path: root/src/cpu/inorder/resources/cache_unit.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/resources/cache_unit.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/resources/cache_unit.cc')
-rw-r--r--src/cpu/inorder/resources/cache_unit.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/cpu/inorder/resources/cache_unit.cc b/src/cpu/inorder/resources/cache_unit.cc
index 7c8ad6905..7a24348fc 100644
--- a/src/cpu/inorder/resources/cache_unit.cc
+++ b/src/cpu/inorder/resources/cache_unit.cc
@@ -105,8 +105,10 @@ CacheUnit::CachePort::recvTiming(Packet *pkt)
pkt->getAddr());
else if (pkt->isResponse())
cachePortUnit->processCacheCompletion(pkt);
- else
- DPRINTF(Cache, "Received snoop pkt %x,Ignoring\n", pkt->getAddr());
+ else {
+ //@note: depending on consistency model, update here
+ DPRINTF(InOrderCachePort, "Received snoop pkt %x,Ignoring\n", pkt->getAddr());
+ }
return true;
}