Go to the documentation of this file.
29 #ifndef __CPU_PRED_INDIRECT_HH__
30 #define __CPU_PRED_INDIRECT_HH__
34 #include "config/the_isa.hh"
37 #include "params/SimpleIndirectPredictor.hh"
42 namespace branch_prediction
111 #endif // __CPU_PRED_INDIRECT_HH__
Addr getTag(Addr br_addr)
void updateDirectionInfo(ThreadID tid, bool actually_taken)
void genIndirectInfo(ThreadID tid, void *&indirect_history)
const Params & params() const
void deleteIndirectInfo(ThreadID tid, void *indirect_history)
GenericISA::DelaySlotPCState< 4 > PCState
void changeDirectionPrediction(ThreadID tid, void *indirect_history, bool actually_taken)
std::vector< std::vector< IPredEntry > > targetCache
Addr getSetIndex(Addr br_addr, unsigned ghr, ThreadID tid)
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
void commit(InstSeqNum seq_num, ThreadID tid, void *indirect_history)
HistoryEntry(Addr br_addr, Addr tgt_addr, InstSeqNum seq_num)
const unsigned pathLength
void squash(InstSeqNum seq_num, ThreadID tid)
std::deque< HistoryEntry > pathHist
void recordTarget(InstSeqNum seq_num, void *indirect_history, const TheISA::PCState &target, ThreadID tid)
std::vector< ThreadInfo > threadInfo
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
void recordIndirect(Addr br_addr, Addr tgt_addr, InstSeqNum seq_num, ThreadID tid)
bool lookup(Addr br_addr, TheISA::PCState &br_target, ThreadID tid)
int16_t ThreadID
Thread index/ID type.
const unsigned ghrNumBits
SimpleIndirectPredictor(const SimpleIndirectPredictorParams ¶ms)
Generated on Tue Sep 21 2021 12:25:05 for gem5 by doxygen 1.8.17