From 716e447da8424386f2c3448c17891927aeb49f67 Mon Sep 17 00:00:00 2001 From: Korey Sewell Date: Sun, 19 Jun 2011 21:43:41 -0400 Subject: inorder: handle serializing instructions including IPR accesses and store-conditionals. These class of instructions will not execute correctly in a superscalar machine --- src/cpu/inorder/resources/cache_unit.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/cpu/inorder/resources/cache_unit.cc') 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; } -- cgit v1.2.3