CPU: Don't always reset the micro pc on faults. Let the faults handle it.

This commit is contained in:
Gabe Black
2009-02-01 00:30:54 -08:00
parent 6b60a29706
commit 7b58511470

View File

@@ -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