From a56c651980921d210f2c48f84ce5d3445fc38475 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Tue, 2 Oct 2007 22:21:38 -0700 Subject: Predecoder: Clear out predecoder state on an ITLB fault. --HG-- extra : convert_revision : 68f8ff778dbd28ade5070edf5a7d662e7bf0045a --- src/cpu/simple/base.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/cpu') diff --git a/src/cpu/simple/base.cc b/src/cpu/simple/base.cc index 9fc1d1dd9..f3b34880e 100644 --- a/src/cpu/simple/base.cc +++ b/src/cpu/simple/base.cc @@ -463,6 +463,7 @@ BaseSimpleCPU::advancePC(Fault fault) fetchOffset = 0; if (fault != NoFault) { curMacroStaticInst = StaticInst::nullStaticInstPtr; + predecoder.reset(); fault->invoke(tc); thread->setMicroPC(0); thread->setNextMicroPC(1); -- cgit v1.2.3