projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34ca72d
)
CPU: Explain why some code is commented out.
author
Gabe Black
<gblack@eecs.umich.edu>
Mon, 13 Oct 2008 06:52:02 +0000
(23:52 -0700)
committer
Gabe Black
<gblack@eecs.umich.edu>
Mon, 13 Oct 2008 06:52:02 +0000
(23:52 -0700)
src/cpu/simple/atomic.cc
patch
|
blob
|
history
diff --git
a/src/cpu/simple/atomic.cc
b/src/cpu/simple/atomic.cc
index 878f69f0c16cd62fbf0264f3396da7739d8f13a1..30f4a5c5ed3a72bd9526f96a4902ea82e6b317c7 100644
(file)
--- 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())
//{