Lines Matching defs:sh
72 SC_64KB_ThreadHistory *sh = new SC_64KB_ThreadHistory();
74 sh->setNumOrdinalHistories(3);
75 sh->initLocalHistory(1, numEntriesFirstLocalHistories, 2);
76 sh->initLocalHistory(2, numEntriesSecondLocalHistories, 5);
77 sh->initLocalHistory(3, numEntriesThirdLocalHistories, logTnb);
79 sh->imHist.resize(1 << im[0]);
80 return sh;
96 SC_64KB_ThreadHistory *sh =
100 (branch_pc << 1) + bi->predBeforeSC, sh->bwHist, bwm,
107 branch_pc, sh->getLocalHistory(1, branch_pc), lm,
111 branch_pc, sh->getLocalHistory(2, branch_pc), sm,
115 branch_pc, sh->getLocalHistory(3, branch_pc), tm,
119 branch_pc, sh->imHist[scHistory->imliCount], imm,
123 branch_pc, sh->imliCount, im, igehl, inb, logInb, wi);
151 SC_64KB_ThreadHistory *sh =
153 int64_t imliCount = sh->imliCount;
154 sh->imHist[imliCount] = (sh->imHist[imliCount] << 1)
156 sh->updateLocalHistory(2, branch_pc, taken, branch_pc & 15);
157 sh->updateLocalHistory(3, branch_pc, taken);
168 SC_64KB_ThreadHistory *sh =
171 gUpdate((pc << 1) + bi->predBeforeSC, taken, sh->bwHist, bwm,
177 gUpdate(pc, taken, sh->getLocalHistory(1, pc), lm,
180 gUpdate(pc, taken, sh->getLocalHistory(2, pc), sm,
183 gUpdate(pc, taken, sh->getLocalHistory(3, pc), tm,
186 gUpdate(pc, taken, sh->imHist[scHistory->imliCount], imm,
189 gUpdate(pc, taken, sh->imliCount, im,