summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2009-02-01 00:30:54 -0800
committerGabe Black <gblack@eecs.umich.edu>2009-02-01 00:30:54 -0800
commit7b585114704532133c3aed01847fa534167018b3 (patch)
treea371c64a66ad08f7b8afcf2dd9216f3d06598baa
parent6b60a2970637129a39f04724ff082b2b0ffc1eb1 (diff)
downloadgem5-7b585114704532133c3aed01847fa534167018b3.tar.xz
CPU: Don't always reset the micro pc on faults. Let the faults handle it.
-rw-r--r--src/cpu/simple/base.cc2
1 files changed, 0 insertions, 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