# HG changeset patch # Parent c38fcdaa5fe508dbb18cc084e758ad0ce8e2e2f4 diff -r c38fcdaa5fe5 src/cpu/o3/decode_impl.hh --- a/src/cpu/o3/decode_impl.hh Wed Oct 26 22:48:45 2016 -0400 +++ b/src/cpu/o3/decode_impl.hh Thu Nov 17 10:50:33 2016 +0100 @@ -719,7 +719,11 @@ } // Go ahead and compute any PC-relative branches. - if (inst->isDirectCtrl() && inst->isUncondCtrl()) { + // This includes direct unconditional control and + // direct conditional control that is predicted taken. + if (inst->isDirectCtrl() && + (inst->isUncondCtrl() || inst->readPredTaken())) + { ++decodeBranchResolved; if (!(inst->branchTarget() == inst->readPredTarg())) {