summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2012-02-10 08:37:26 -0600
committerNilay Vaish <nilay@cs.wisc.edu>2012-02-10 08:37:26 -0600
commit0e597e944ae0cf368df06235e832bc441cb4e022 (patch)
tree2625e3330ff446e51304f5f389b3d75d52105387 /src
parente80ebc308f0e926d2965ddfb37e6d30e14c8c3da (diff)
downloadgem5-0e597e944ae0cf368df06235e832bc441cb4e022.tar.xz
O3 Fetch: Check if PC is pointing to Microcode ROM
Diffstat (limited to 'src')
-rw-r--r--src/cpu/o3/fetch_impl.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cpu/o3/fetch_impl.hh b/src/cpu/o3/fetch_impl.hh
index 553198980..c8f7b0181 100644
--- 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;