From: Gabe Black Date: Sun, 1 Feb 2009 08:30:54 +0000 (-0800) Subject: CPU: Don't always reset the micro pc on faults. Let the faults handle it. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7b585114704532133c3aed01847fa534167018b3;p=gem5.git CPU: Don't always reset the micro pc on faults. Let the faults handle it. --- diff --git a/src/cpu/simple/base.cc b/src/cpu/simple/base.cc index 9af5d0150..b1a77247f 100644 --- a/src/cpu/simple/base.cc +++ b/src/cpu/simple/base.cc @@ -472,8 +472,6 @@ BaseSimpleCPU::advancePC(Fault fault) if (fault != NoFault) { curMacroStaticInst = StaticInst::nullStaticInstPtr; predecoder.reset(); - thread->setMicroPC(normalMicroPC(0)); - thread->setNextMicroPC(normalMicroPC(1)); fault->invoke(tc); } else { //If we're at the last micro op for this instruction