# Node ID f0a68f5e8afb6343a1a777158e5e69f51a86604b # Parent f125c1f2f5f735f2b686dea78fcc067c4fe390b4 diff --git a/src/cpu/o3/fetch_impl.hh b/src/cpu/o3/fetch_impl.hh --- a/src/cpu/o3/fetch_impl.hh +++ b/src/cpu/o3/fetch_impl.hh @@ -1,5 +1,6 @@ /* * Copyright (c) 2010-2014 ARM Limited + * Copyright (c) 2012-2013 AMD * All rights reserved. * * The license below extends only to copyright in the software and shall @@ -1371,6 +1372,10 @@ } while ((curMacroop || decoder[tid]->instReady()) && numInst < fetchWidth && fetchQueue[tid].size() < fetchQueueSize); + + // Re-evaluate whether the next instruction to fetch is in micro-op ROM + // or not. + inRom = isRomMicroPC(thisPC.microPC()); } if (predictedBranch) {