From 7b585114704532133c3aed01847fa534167018b3 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sun, 1 Feb 2009 00:30:54 -0800 Subject: [PATCH] CPU: Don't always reset the micro pc on faults. Let the faults handle it. --- src/cpu/simple/base.cc | 2 -- 1 file changed, 2 deletions(-) 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 -- 2.30.2