From e858242763a9939257b741df0708b24d9f3e3a74 Mon Sep 17 00:00:00 2001 From: Jack Veenstra Date: Fri, 15 May 2009 11:35:50 -0700 Subject: Remove the dcache from the emulator since we are not tracing loads and stores. I commented out the call to create the dcache since we are not currently tracing loads and stores. This just does useless work and when it prints the dcache stats at the end the stats always show zero hits and misses. --- vl.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'vl.c') diff --git a/vl.c b/vl.c index 0659b45..e6a0305 100644 --- a/vl.c +++ b/vl.c @@ -9688,9 +9688,13 @@ int main(int argc, char **argv) #ifdef CONFIG_TRACE if (trace_filename) { trace_init(trace_filename); +#if 0 + // We don't need the dcache code until we can get load and store tracing + // working again. dcache_init(dcache_size, dcache_ways, dcache_line_size, dcache_replace_policy, dcache_load_miss_penalty, dcache_store_miss_penalty); +#endif fprintf(stderr, "-- When done tracing, exit the emulator. --\n"); } #endif -- cgit v1.1