summaryrefslogtreecommitdiff
path: root/src/arch/sparc
diff options
context:
space:
mode:
authorAli Saidi <Ali.Saidi@ARM.com>2011-03-17 19:20:19 -0500
committerAli Saidi <Ali.Saidi@ARM.com>2011-03-17 19:20:19 -0500
commit799c3da8d0086bfdfbae532e05018828387e4497 (patch)
treea2922f9bcac507ff8e4031a060c825de1ad707d2 /src/arch/sparc
parent30143baf7e35a73acaff1d02cf71278248a86515 (diff)
downloadgem5-799c3da8d0086bfdfbae532e05018828387e4497.tar.xz
O3: Send instruction back to fetch on squash to seed predecoder correctly.
Diffstat (limited to 'src/arch/sparc')
-rw-r--r--src/arch/sparc/predecoder.hh7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/arch/sparc/predecoder.hh b/src/arch/sparc/predecoder.hh
index 670c547d0..082adeb72 100644
--- a/src/arch/sparc/predecoder.hh
+++ b/src/arch/sparc/predecoder.hh
@@ -68,12 +68,19 @@ class Predecoder
}
void process() {}
+
void
reset()
{
emiIsReady = false;
}
+ void
+ reset(const ExtMachInst &old_emi)
+ {
+ reset();
+ }
+
// Use this to give data to the predecoder. This should be used
// when there is control flow.
void