From 809f6cb6d1c199563664305fe3b0b286c54dbea7 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sun, 12 Oct 2008 23:52:02 -0700 Subject: CPU: Explain why some code is commented out. --- src/cpu/simple/atomic.cc | 4 ++++ 1 file changed, 4 insertions(+) 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()) //{ -- cgit v1.2.3