From 368bf919c17cab706fdf19294c07600c3f436f8f Mon Sep 17 00:00:00 2001 From: Iru Cai Date: Wed, 10 Apr 2019 02:16:12 +0800 Subject: clear taint when previous branch resolved --- src/cpu/o3/rob_impl.hh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/cpu') 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::updateVisibleState() assert(inst!=0); + if (prevBrsResolved) { + inst->taintDestRegs(false); + } + if (!prevInstsComplete && !prevBrsResolved) { break; -- cgit v1.2.3