summaryrefslogtreecommitdiff
path: root/src/mem/cache/cache_builder.cc
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2006-12-05 07:16:36 -0800
committerSteve Reinhardt <stever@eecs.umich.edu>2006-12-05 07:16:36 -0800
commit1c28682cea09830f675945bc2052e5445ba0c81b (patch)
tree956a8c7fff706ae639cd4e8ccda0321932d38c92 /src/mem/cache/cache_builder.cc
parenta2c315b85f807d15af614cb87a0417261bff5af7 (diff)
downloadgem5-1c28682cea09830f675945bc2052e5445ba0c81b.tar.xz
Don't compress data on writebacks unless it's actually necessary.
--HG-- extra : convert_revision : 7a068e28f9ea2f6aab57be7133b47bda72d10302
Diffstat (limited to 'src/mem/cache/cache_builder.cc')
-rw-r--r--src/mem/cache/cache_builder.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mem/cache/cache_builder.cc b/src/mem/cache/cache_builder.cc
index 44e8cf1dd..4b1b19718 100644
--- a/src/mem/cache/cache_builder.cc
+++ b/src/mem/cache/cache_builder.cc
@@ -246,6 +246,7 @@ return retval; \
CacheTags<TAGS> *tagStore = \
new CacheTags<TAGS>(tags, compression_latency, true, \
store_compressed, adaptive_compression, \
+ compressed_bus, \
compAlg, prefetch_miss); \
BUILD_CACHE(TAGS, c); \
} while (0)