summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2019-04-10 02:16:12 +0800
committerIru Cai <mytbk920423@gmail.com>2019-04-10 02:16:12 +0800
commit368bf919c17cab706fdf19294c07600c3f436f8f (patch)
tree7b8971d58599e7fab18c38b06e15859a45b17061
parent150bc41ca61a75b6df996395a649a331ef3b049a (diff)
downloadgem5-368bf919c17cab706fdf19294c07600c3f436f8f.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;