diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2011-08-14 17:41:34 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2011-08-14 17:41:34 -0700 |
commit | 0e6dc004978fbf2963dc467b8330544f563231d0 (patch) | |
tree | ecba87a76b0d4ad6303ccbf205519dfeaf2cc56d /src/cpu/o3/decode_impl.hh | |
parent | ec204f003cfc79fb0da6fe1e6121c4a9bc18c781 (diff) | |
download | gem5-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.hh | 1 |
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; |