summaryrefslogtreecommitdiff
path: root/src/cpu/o3/decode_impl.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2011-08-14 17:41:34 -0700
committerGabe Black <gblack@eecs.umich.edu>2011-08-14 17:41:34 -0700
commit0e6dc004978fbf2963dc467b8330544f563231d0 (patch)
treeecba87a76b0d4ad6303ccbf205519dfeaf2cc56d /src/cpu/o3/decode_impl.hh
parentec204f003cfc79fb0da6fe1e6121c4a9bc18c781 (diff)
downloadgem5-0e6dc004978fbf2963dc467b8330544f563231d0.tar.xz
O3: When squashing, restore the macroop that should be used for fetching.
Diffstat (limited to 'src/cpu/o3/decode_impl.hh')
-rw-r--r--src/cpu/o3/decode_impl.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cpu/o3/decode_impl.hh b/src/cpu/o3/decode_impl.hh
index 67d32f0fe..0c0ec768e 100644
--- a/src/cpu/o3/decode_impl.hh
+++ b/src/cpu/o3/decode_impl.hh
@@ -280,6 +280,7 @@ DefaultDecode<Impl>::squash(DynInstPtr &inst, ThreadID tid)
toFetch->decodeInfo[tid].doneSeqNum = inst->seqNum;
toFetch->decodeInfo[tid].nextPC = inst->branchTarget();
toFetch->decodeInfo[tid].branchTaken = inst->pcState().branching();
+ toFetch->decodeInfo[tid].squashInst = inst;
InstSeqNum squash_seq_num = inst->seqNum;