Lines Matching defs:history
55 fatal("Invalid global history predictor size.\n");
67 * For an unconditional branch we set its history such that
74 BPHistory *history = new BPHistory;
75 history->globalHistoryReg = globalHistoryReg[tid];
76 history->takenUsed = true;
77 history->takenPred = true;
78 history->notTakenPred = true;
79 history->finalPred = true;
80 bpHistory = static_cast<void*>(history);
87 BPHistory *history = static_cast<BPHistory*>(bpHistory);
88 globalHistoryReg[tid] = history->globalHistoryReg;
90 delete history;
96 * prediction in the choice array. A hash of the global history
122 BPHistory *history = new BPHistory;
123 history->globalHistoryReg = globalHistoryReg[tid];
124 history->takenUsed = choicePrediction;
125 history->takenPred = takenGHBPrediction;
126 history->notTakenPred = notTakenGHBPrediction;
134 history->finalPred = finalPrediction;
135 bpHistory = static_cast<void*>(history);
159 BPHistory *history = static_cast<BPHistory*>(bpHistory);
162 // We just restore the global history register.
164 globalHistoryReg[tid] = (history->globalHistoryReg << 1) | taken;
171 ^ history->globalHistoryReg)
177 if (history->takenUsed) {
193 if (history->finalPred == taken) {
204 if (history->finalPred == history->takenUsed) {
220 delete history;