diff options
author | Korey Sewell <ksewell@umich.edu> | 2011-06-19 21:43:41 -0400 |
---|---|---|
committer | Korey Sewell <ksewell@umich.edu> | 2011-06-19 21:43:41 -0400 |
commit | 716e447da8424386f2c3448c17891927aeb49f67 (patch) | |
tree | 7cd5ba23161faa0a5337b5a7add3f75569bbfd76 /src/cpu/inorder/resources/cache_unit.cc | |
parent | 83a0fd24f72ed46e71c015c23b723c04d39ca93c (diff) | |
download | gem5-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.cc | 6 |
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; } |