Lines Matching defs:lsum
74 StatisticalCorrector::BranchInfo* bi, int &lsum) const
77 lsum += 2.09 * ctr;
79 lsum += 2.08 * ctr;
84 StatisticalCorrector::BranchInfo* bi, int & lsum, int64_t phist)
88 lsum += gPredict((pc << 1) + bi->predBeforeSC, sh->globalHist << 11,
92 lsum += 2.02 * gPredict(branch_pc, sh->getLocalHistory(1, branch_pc),
94 if (sh->getLocalHistory(1, branch_pc) == 2047) lsum += 4;
95 if (sh->getLocalHistory(1, branch_pc) == 0) lsum -= 4;
98 lsum += gPredict(branch_pc, sh->getLocalHistory(3, branch_pc) << 11,
102 lsum += gPredict(branch_pc, sh->getLocalHistory(2, branch_pc),
105 lsum += gPredict(branch_pc, sh->getHistoryStackEntry(),