diff options
author | Ali Saidi <Ali.Saidi@ARM.com> | 2011-03-17 19:20:19 -0500 |
---|---|---|
committer | Ali Saidi <Ali.Saidi@ARM.com> | 2011-03-17 19:20:19 -0500 |
commit | 799c3da8d0086bfdfbae532e05018828387e4497 (patch) | |
tree | a2922f9bcac507ff8e4031a060c825de1ad707d2 /src/arch/x86 | |
parent | 30143baf7e35a73acaff1d02cf71278248a86515 (diff) | |
download | gem5-799c3da8d0086bfdfbae532e05018828387e4497.tar.xz |
O3: Send instruction back to fetch on squash to seed predecoder correctly.
Diffstat (limited to 'src/arch/x86')
-rw-r--r-- | src/arch/x86/predecoder.hh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/arch/x86/predecoder.hh b/src/arch/x86/predecoder.hh index 5c67e28e1..790453b98 100644 --- a/src/arch/x86/predecoder.hh +++ b/src/arch/x86/predecoder.hh @@ -174,6 +174,12 @@ namespace X86ISA state = ResetState; } + void + reset(const ExtMachInst &old_emi) + { + reset(); + } + ThreadContext * getTC() { return tc; |