Fix cache problem with writes to tempBlock
getting wrong writeback address. --HG-- extra : convert_revision : 023dfb69c227c13a69bfe2744c6af75a45828b0b
This commit is contained in:
parent
3fe1af7952
commit
407710d387
1 changed files with 1 additions and 0 deletions
1
src/mem/cache/cache_impl.hh
vendored
1
src/mem/cache/cache_impl.hh
vendored
|
@ -941,6 +941,7 @@ Cache<TagStore>::handleFill(PacketPtr pkt, BlkType *blk,
|
||||||
assert(!tempBlock->isValid());
|
assert(!tempBlock->isValid());
|
||||||
blk = tempBlock;
|
blk = tempBlock;
|
||||||
tempBlock->set = tags->extractSet(addr);
|
tempBlock->set = tags->extractSet(addr);
|
||||||
|
tempBlock->tag = tags->extractTag(addr);
|
||||||
DPRINTF(Cache, "using temp block for %x\n", addr);
|
DPRINTF(Cache, "using temp block for %x\n", addr);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue