From: Nilay Vaish Date: Fri, 10 Feb 2012 14:37:26 +0000 (-0600) Subject: O3 Fetch: Check if PC is pointing to Microcode ROM X-Git-Tag: stable_2012_06_28~252 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0e597e944ae0cf368df06235e832bc441cb4e022;p=gem5.git O3 Fetch: Check if PC is pointing to Microcode ROM --- 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::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;