summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2019-04-10 02:16:12 +0800
committerIru Cai <mytbk920423@gmail.com>2019-05-31 15:59:17 +0800
commit3fe13600a91d1eb8a353f1ac7455d9a1d977027a (patch)
treecedca6dc506280595e03b3413d4825dd2ff5f1ec
parent56d9022ebe913630920a38a7a7d8945b7c22a4fe (diff)
downloadgem5-3fe13600a91d1eb8a353f1ac7455d9a1d977027a.tar.xz
clear taint when previous branch resolved
-rw-r--r--src/cpu/o3/rob_impl.hh4
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;