/gem5/src/cpu/pred/ |
H A D | 2bit_local.hh | 56 * counters. Note that any time a pointer to the bp_history is given, it 69 virtual void uncondBranch(ThreadID tid, Addr pc, void * &bp_history); 75 * @param bp_history Pointer to any bp history state. 78 bool lookup(ThreadID tid, Addr branch_addr, void * &bp_history); 84 * @param bp_history Pointer to any bp history state. 87 void btbUpdate(ThreadID tid, Addr branch_addr, void * &bp_history); 94 void update(ThreadID tid, Addr branch_addr, bool taken, void *bp_history, 97 void squash(ThreadID tid, void *bp_history) argument 98 { assert(bp_history == NULL); }
|
H A D | tage.hh | 86 void uncondBranch(ThreadID tid, Addr br_pc, void* &bp_history) override; 87 bool lookup(ThreadID tid, Addr branch_addr, void* &bp_history) override; 88 void btbUpdate(ThreadID tid, Addr branch_addr, void* &bp_history) override; 89 void update(ThreadID tid, Addr branch_addr, bool taken, void *bp_history, 92 virtual void squash(ThreadID tid, void *bp_history) override;
|
H A D | bi_mode.hh | 60 void uncondBranch(ThreadID tid, Addr pc, void * &bp_history); 61 void squash(ThreadID tid, void *bp_history); 62 bool lookup(ThreadID tid, Addr branch_addr, void * &bp_history); 63 void btbUpdate(ThreadID tid, Addr branch_addr, void * &bp_history); 64 void update(ThreadID tid, Addr branch_addr, bool taken, void *bp_history,
|
H A D | tage.cc | 56 TAGE::update(ThreadID tid, Addr branch_pc, bool taken, void* bp_history, argument 59 assert(bp_history); 61 TageBranchInfo *bi = static_cast<TageBranchInfo*>(bp_history); 89 TAGE::squash(ThreadID tid, void *bp_history) argument 91 TageBranchInfo *bi = static_cast<TageBranchInfo*>(bp_history); 105 TAGE::lookup(ThreadID tid, Addr branch_pc, void* &bp_history) argument 107 bool retval = predict(tid, branch_pc, true, bp_history); 109 TageBranchInfo *bi = static_cast<TageBranchInfo*>(bp_history); 119 TAGE::btbUpdate(ThreadID tid, Addr branch_pc, void* &bp_history) argument 121 TageBranchInfo *bi = static_cast<TageBranchInfo*>(bp_history); 126 uncondBranch(ThreadID tid, Addr br_pc, void* &bp_history) argument [all...] |
H A D | 2bit_local.cc | 66 LocalBP::btbUpdate(ThreadID tid, Addr branch_addr, void * &bp_history) argument 74 LocalBP::lookup(ThreadID tid, Addr branch_addr, void * &bp_history) argument 93 LocalBP::update(ThreadID tid, Addr branch_addr, bool taken, void *bp_history, argument 96 assert(bp_history == NULL); 135 LocalBP::uncondBranch(ThreadID tid, Addr pc, void *&bp_history) argument
|
H A D | tournament.hh | 76 * @param bp_history Pointer that will be set to the BPHistory object. 79 bool lookup(ThreadID tid, Addr branch_addr, void * &bp_history); 85 * @param bp_history Pointer that will be set to the BPHistory object. 87 void uncondBranch(ThreadID tid, Addr pc, void * &bp_history); 92 * @param bp_history Pointer to any bp history state. 95 void btbUpdate(ThreadID tid, Addr branch_addr, void * &bp_history); 100 * @param bp_history Pointer to the BPHistory object that was created 108 void update(ThreadID tid, Addr branch_addr, bool taken, void *bp_history, 113 * @param bp_history Pointer to the BPHistory object that has the 116 void squash(ThreadID tid, void *bp_history); [all...] |
H A D | ltage.cc | 94 LTAGE::update(ThreadID tid, Addr branch_pc, bool taken, void* bp_history, argument 97 assert(bp_history); 99 LTageBranchInfo* bi = static_cast<LTageBranchInfo*>(bp_history); 138 LTAGE::squash(ThreadID tid, void *bp_history) argument 140 LTageBranchInfo* bi = (LTageBranchInfo*)(bp_history); 146 TAGE::squash(tid, bp_history);
|
H A D | ltage.hh | 69 void squash(ThreadID tid, void *bp_history) override; 70 void update(ThreadID tid, Addr branch_addr, bool taken, void *bp_history,
|
H A D | bpred_unit.hh | 98 virtual void uncondBranch(ThreadID tid, Addr pc, void * &bp_history) = 0; 130 * @param bp_history Pointer to the history object. The predictor 133 virtual void squash(ThreadID tid, void *bp_history) = 0; 138 * @param bp_history Pointer that will be set to an object that 142 virtual bool lookup(ThreadID tid, Addr instPC, void * &bp_history) = 0; 149 * @param bp_history Pointer that will be set to an object that 152 virtual void btbUpdate(ThreadID tid, Addr instPC, void * &bp_history) = 0; 174 * @param bp_history Pointer to the branch predictor state that is 184 void *bp_history, bool squashed, 205 bool pred_taken, void *bp_history, 204 PredictorHistory(const InstSeqNum &seq_num, Addr instPC, bool pred_taken, void *bp_history, void *indirect_history, ThreadID _tid, const StaticInstPtr & inst) argument [all...] |
H A D | tournament.cc | 165 TournamentBP::btbUpdate(ThreadID tid, Addr branch_addr, void * &bp_history) argument 176 TournamentBP::lookup(ThreadID tid, Addr branch_addr, void * &bp_history) argument 207 bp_history = (void *)history; 237 TournamentBP::uncondBranch(ThreadID tid, Addr pc, void * &bp_history) 247 bp_history = static_cast<void *>(history); 254 void *bp_history, bool squashed, 257 assert(bp_history); 259 BPHistory *history = static_cast<BPHistory *>(bp_history); 332 TournamentBP::squash(ThreadID tid, void *bp_history) 334 BPHistory *history = static_cast<BPHistory *>(bp_history); [all...] |
H A D | multiperspective_perceptron_tage.hh | 226 bool lookup(ThreadID tid, Addr instPC, void * &bp_history) override; 229 void *bp_history, bool squashed, 232 void uncondBranch(ThreadID tid, Addr pc, void * &bp_history) override; 233 void squash(ThreadID tid, void *bp_history) override;
|
H A D | multiperspective_perceptron_tage.cc | 528 void * &bp_history) 533 bp_history = (void *)bi; 601 void *bp_history, bool squashed, 605 assert(bp_history); 606 MPPTAGEBranchInfo *bi = static_cast<MPPTAGEBranchInfo*>(bp_history); 683 void * &bp_history) 688 bp_history = (void *) bi; 692 MultiperspectivePerceptronTAGE::squash(ThreadID tid, void *bp_history) argument 694 assert(bp_history); 695 MPPTAGEBranchInfo *bi = static_cast<MPPTAGEBranchInfo*>(bp_history); 527 lookup(ThreadID tid, Addr instPC, void * &bp_history) argument 600 update(ThreadID tid, Addr instPC, bool taken, void *bp_history, bool squashed, const StaticInstPtr & inst, Addr corrTarget) argument 682 uncondBranch(ThreadID tid, Addr pc, void * &bp_history) argument [all...] |
H A D | bpred_unit.cc | 186 void *bp_history = NULL; local 195 uncondBranch(tid, pc.instAddr(), bp_history); 198 pred_taken = lookup(tid, pc.instAddr(), bp_history); 215 bp_history, indirect_history, tid, inst); 272 btbUpdate(tid, pc.instAddr(), bp_history);
|
H A D | multiperspective_perceptron.cc | 545 void * &bp_history) 550 bp_history = (void *)bi; 568 void * &bp_history) 571 bp_history = (void *)bi; 610 void *bp_history, bool squashed, 614 assert(bp_history); 615 MPPBranchInfo *bi = static_cast<MPPBranchInfo*>(bp_history); 811 void* &bp_history) 816 MultiperspectivePerceptron::squash(ThreadID tid, void *bp_history) argument 818 assert(bp_history); 544 uncondBranch(ThreadID tid, Addr pc, void * &bp_history) argument 567 lookup(ThreadID tid, Addr instPC, void * &bp_history) argument 609 update(ThreadID tid, Addr instPC, bool taken, void *bp_history, bool squashed, const StaticInstPtr & inst, Addr corrTarget) argument 810 btbUpdate(ThreadID tid, Addr branch_pc, void* &bp_history) argument [all...] |
H A D | tage_sc_l.cc | 413 TAGE_SC_L::update(ThreadID tid, Addr branch_pc, bool taken, void *bp_history, argument 416 assert(bp_history); 418 TageSCLBranchInfo* bi = static_cast<TageSCLBranchInfo*>(bp_history);
|
H A D | tage_sc_l.hh | 159 void update(ThreadID tid, Addr branch_addr, bool taken, void *bp_history,
|
H A D | multiperspective_perceptron.hh | 1026 void uncondBranch(ThreadID tid, Addr pc, void * &bp_history) override; 1027 void squash(ThreadID tid, void *bp_history) override; 1028 bool lookup(ThreadID tid, Addr instPC, void * &bp_history) override; 1030 void *bp_history, bool squashed, 1033 void btbUpdate(ThreadID tid, Addr branch_addr, void* &bp_history) override;
|