projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e80ebc3
)
O3 Fetch: Check if PC is pointing to Microcode ROM
author
Nilay Vaish
<nilay@cs.wisc.edu>
Fri, 10 Feb 2012 14:37:26 +0000
(08:37 -0600)
committer
Nilay Vaish
<nilay@cs.wisc.edu>
Fri, 10 Feb 2012 14:37:26 +0000
(08:37 -0600)
src/cpu/o3/fetch_impl.hh
patch
|
blob
|
history
diff --git
a/src/cpu/o3/fetch_impl.hh
b/src/cpu/o3/fetch_impl.hh
index 553198980545601122d24172389b7a0efc11f9be..c8f7b0181bdfd5ec2a3592886482728c3079b739 100644
(file)
--- a/
src/cpu/o3/fetch_impl.hh
+++ b/
src/cpu/o3/fetch_impl.hh
@@
-1282,6
+1282,7
@@
DefaultFetch<Impl>::fetch(bool &status_change)
// Move to the next instruction, unless we have a branch.
thisPC = nextPC;
+ inRom = isRomMicroPC(thisPC.microPC());
if (newMacro) {
fetchAddr = thisPC.instAddr() & BaseCPU::PCMask;