From: Gabe Black Date: Mon, 13 Oct 2008 06:52:02 +0000 (-0700) Subject: CPU: Explain why some code is commented out. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=809f6cb6d1c199563664305fe3b0b286c54dbea7;p=gem5.git CPU: Explain why some code is commented out. --- diff --git a/src/cpu/simple/atomic.cc b/src/cpu/simple/atomic.cc index 878f69f0c..30f4a5c5e 100644 --- a/src/cpu/simple/atomic.cc +++ b/src/cpu/simple/atomic.cc @@ -730,6 +730,10 @@ AtomicSimpleCPU::tick() dcache_access = false; // assume no dcache access if (!fromRom) { + // This is commented out because the predecoder would act like + // a tiny cache otherwise. It wouldn't be flushed when needed + // like the I cache. It should be flushed, and when that works + // this code should be uncommented. //Fetch more instruction memory if necessary //if(predecoder.needMoreBytes()) //{