diff options
author | Iru Cai <mytbk920423@gmail.com> | 2019-04-10 02:16:12 +0800 |
---|---|---|
committer | Iru Cai <mytbk920423@gmail.com> | 2019-04-10 02:16:12 +0800 |
commit | 368bf919c17cab706fdf19294c07600c3f436f8f (patch) | |
tree | 7b8971d58599e7fab18c38b06e15859a45b17061 /src/cpu | |
parent | 150bc41ca61a75b6df996395a649a331ef3b049a (diff) | |
download | gem5-368bf919c17cab706fdf19294c07600c3f436f8f.tar.xz |
clear taint when previous branch resolved
Diffstat (limited to 'src/cpu')
-rw-r--r-- | src/cpu/o3/rob_impl.hh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cpu/o3/rob_impl.hh b/src/cpu/o3/rob_impl.hh index 691149e67..7c39985a2 100644 --- a/src/cpu/o3/rob_impl.hh +++ b/src/cpu/o3/rob_impl.hh @@ -435,6 +435,10 @@ ROB<Impl>::updateVisibleState() assert(inst!=0); + if (prevBrsResolved) { + inst->taintDestRegs(false); + } + if (!prevInstsComplete && !prevBrsResolved) { break; |