From aead4c315b2f52566249a09c13bcee3378f7af32 Mon Sep 17 00:00:00 2001 From: Erik Hallnor Date: Thu, 6 Nov 2003 18:39:26 -0500 Subject: Various fixes to memory code. cpu/memtest/memtest.cc: Disable probes until the work in all cases util/rundiff: Comment out Algorithm::Diff since its not needed. --HG-- extra : convert_revision : 40e76ae8926650986a170a0ba6ef331519aceb19 --- cpu/memtest/memtest.cc | 1 + util/rundiff | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/cpu/memtest/memtest.cc b/cpu/memtest/memtest.cc index b6224996e..db24bb507 100644 --- a/cpu/memtest/memtest.cc +++ b/cpu/memtest/memtest.cc @@ -223,6 +223,7 @@ MemTest::tick() req->paddr = ((base) ? baseAddr1 : baseAddr2) + offset1; } bool probe = (rand() % 2 == 1) && !req->isUncacheable(); + probe = false; req->size = 1 << access_size; req->data = new uint8_t[req->size]; diff --git a/util/rundiff b/util/rundiff index 4aed9200e..732b84d21 100755 --- a/util/rundiff +++ b/util/rundiff @@ -49,9 +49,9 @@ use strict; # and generally quite adequate algorithm will be used instead. my $use_complexdiff = 0; -if ($use_complexdiff) { - use Algorithm::Diff qw(traverse_sequences); -}; +#if ($use_complexdiff) { +# use Algorithm::Diff qw(traverse_sequences); +#}; my $lookahead_lines = 200; my $precontext_lines = 3; -- cgit v1.2.3