Lines Matching defs:branch_pc

53 MPP_TAGE::handleTAGEUpdate(Addr branch_pc, bool taken,
65 baseUpdate(branch_pc, taken, bi);
78 baseUpdate(branch_pc, taken, bi);
169 MPP_TAGE::getUseAltIdx(TAGEBase::BranchInfo* bi, Addr branch_pc)
171 uint32_t hpc = ((uint32_t) branch_pc);
188 ThreadID tid, Addr branch_pc, bool taken, TAGEBase::BranchInfo* b,
203 updatePathAndGlobalHistory(tHist, brtype, taken, branch_pc, target);
208 ThreadHistory& tHist, int brtype, bool taken, Addr branch_pc, Addr target)
211 int tmp = (branch_pc << 1) + taken;
212 int path = branch_pc;
298 MPP_StatisticalCorrector::getIndBias(Addr branch_pc,
301 unsigned int truncated_pc = branch_pc;
306 MPP_StatisticalCorrector::getIndBiasSK(Addr branch_pc,
309 return (((branch_pc ^ (branch_pc >> (logBias - 1))) << 1)
314 MPP_StatisticalCorrector::getIndBiasBank(Addr branch_pc,
327 MPP_StatisticalCorrector::getIndUpd(Addr branch_pc) const
329 return ((branch_pc ^ (branch_pc >> 4)) & ((1 << (logSizeUp)) - 1));
333 MPP_StatisticalCorrector::gUpdate(Addr branch_pc, bool taken, int64_t hist,
341 int64_t index = gIndex(branch_pc, bhist, logs, nbr, i);
348 MPP_StatisticalCorrector::scPredict(ThreadID tid, Addr branch_pc,
361 getBiasLSUM(branch_pc, bi, lsum);
363 int thres = gPredictions(tid, branch_pc, bi, lsum, phist);
559 MPP_StatisticalCorrector::condBranchUpdate(ThreadID tid, Addr branch_pc,
584 ctrUpdate(pUpdateThreshold[getIndUpd(branch_pc)], (scPred != taken),
586 if (pUpdateThreshold[getIndUpd(branch_pc)] < 0)
587 pUpdateThreshold[getIndUpd(branch_pc)] = 0;
589 unsigned indBias = getIndBias(branch_pc, bi, false);
590 unsigned indBiasSK = getIndBiasSK(branch_pc, bi);
595 gUpdates(tid, branch_pc, taken, bi, phist);