summaryrefslogtreecommitdiff
path: root/src/cpu/o3/rob_impl.hh
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2019-04-11 23:31:41 +0800
committerIru Cai <mytbk920423@gmail.com>2019-05-31 16:03:28 +0800
commite0d37579dcbd1afc14c5e14438467a81fd8980bd (patch)
tree4f373707da1bc45811fba528fd956a07c79d39ab /src/cpu/o3/rob_impl.hh
parentcd184d861f5702e0ec5855e7247584c799bd24a2 (diff)
downloadgem5-e0d37579dcbd1afc14c5e14438467a81fd8980bd.tar.xz
add IFT options
Diffstat (limited to 'src/cpu/o3/rob_impl.hh')
-rw-r--r--src/cpu/o3/rob_impl.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cpu/o3/rob_impl.hh b/src/cpu/o3/rob_impl.hh
index 7c39985a2..5705b32e8 100644
--- a/src/cpu/o3/rob_impl.hh
+++ b/src/cpu/o3/rob_impl.hh
@@ -435,8 +435,10 @@ ROB<Impl>::updateVisibleState()
assert(inst!=0);
- if (prevBrsResolved) {
+ if (inst->isTainted) {
+ if (prevBrsResolved) {
inst->taintDestRegs(false);
+ }
}
if (!prevInstsComplete &&