From 407710d387497f44de53baf0ae60a2c426c1bb74 Mon Sep 17 00:00:00 2001 From: Steve Reinhardt Date: Sat, 22 Mar 2008 22:17:15 -0400 Subject: [PATCH] Fix cache problem with writes to tempBlock getting wrong writeback address. --HG-- extra : convert_revision : 023dfb69c227c13a69bfe2744c6af75a45828b0b --- src/mem/cache/cache_impl.hh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mem/cache/cache_impl.hh b/src/mem/cache/cache_impl.hh index cf9528a75..2f4567e0d 100644 --- a/src/mem/cache/cache_impl.hh +++ b/src/mem/cache/cache_impl.hh @@ -941,6 +941,7 @@ Cache::handleFill(PacketPtr pkt, BlkType *blk, assert(!tempBlock->isValid()); blk = tempBlock; tempBlock->set = tags->extractSet(addr); + tempBlock->tag = tags->extractTag(addr); DPRINTF(Cache, "using temp block for %x\n", addr); } } else { -- 2.30.2