diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2007-10-02 22:21:38 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2007-10-02 22:21:38 -0700 |
commit | a56c651980921d210f2c48f84ce5d3445fc38475 (patch) | |
tree | 9638492e690d36d6e644eb5f73c37e26fc3adc23 /src/cpu | |
parent | 4049c9f76afd17c983eed923940eb7338229561d (diff) | |
download | gem5-a56c651980921d210f2c48f84ce5d3445fc38475.tar.xz |
Predecoder: Clear out predecoder state on an ITLB fault.
--HG--
extra : convert_revision : 68f8ff778dbd28ade5070edf5a7d662e7bf0045a
Diffstat (limited to 'src/cpu')
-rw-r--r-- | src/cpu/simple/base.cc | 1 |
1 files changed, 1 insertions, 0 deletions
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); |