diff options
-rw-r--r-- | src/cpu/o3/fetch_impl.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cpu/o3/fetch_impl.hh b/src/cpu/o3/fetch_impl.hh index 545969d82..d186768d8 100644 --- a/src/cpu/o3/fetch_impl.hh +++ b/src/cpu/o3/fetch_impl.hh @@ -1342,6 +1342,8 @@ DefaultFetch<Impl>::fetch(bool &status_change) thisPC = nextPC; if (newMacro) { + fetchAddr = thisPC.instAddr() & BaseCPU::PCMask; + blkOffset = (fetchAddr - cacheDataPC[tid]) / instSize; pcOffset = 0; curMacroop = NULL; } |