summaryrefslogtreecommitdiff
path: root/src/cpu/simple
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2008-10-12 23:52:02 -0700
committerGabe Black <gblack@eecs.umich.edu>2008-10-12 23:52:02 -0700
commit809f6cb6d1c199563664305fe3b0b286c54dbea7 (patch)
tree0712d7421661f4d0e16c64e079117c28bc3fe0dd /src/cpu/simple
parent34ca72d16d50586763dbffa01ec7f16b555ac402 (diff)
downloadgem5-809f6cb6d1c199563664305fe3b0b286c54dbea7.tar.xz
CPU: Explain why some code is commented out.
Diffstat (limited to 'src/cpu/simple')
-rw-r--r--src/cpu/simple/atomic.cc4
1 files changed, 4 insertions, 0 deletions
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())
//{