projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b60a29
)
CPU: Don't always reset the micro pc on faults. Let the faults handle it.
author
Gabe Black
<gblack@eecs.umich.edu>
Sun, 1 Feb 2009 08:30:54 +0000
(
00:30
-0800)
committer
Gabe Black
<gblack@eecs.umich.edu>
Sun, 1 Feb 2009 08:30:54 +0000
(
00:30
-0800)
src/cpu/simple/base.cc
patch
|
blob
|
history
diff --git
a/src/cpu/simple/base.cc
b/src/cpu/simple/base.cc
index 9af5d01504f969d02ea7d4cfbd2e64f3484e7f2f..b1a77247ffd72dfe018a93a8a452edd0b7066ef4 100644
(file)
--- 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