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"
101 #endif // __CPU_PRED_INDIRECT_HH__
const unsigned ghrNumBits
Addr getTag(Addr br_addr)
Addr getSetIndex(Addr br_addr, unsigned ghr, ThreadID tid)
int16_t ThreadID
Thread index/ID type.
std::vector< std::vector< IPredEntry > > targetCache
void genIndirectInfo(ThreadID tid, void *&indirect_history)
void commit(InstSeqNum seq_num, ThreadID tid, void *indirect_history)
bool lookup(Addr br_addr, TheISA::PCState &br_target, ThreadID tid)
std::vector< ThreadInfo > threadInfo
HistoryEntry(Addr br_addr, Addr tgt_addr, InstSeqNum seq_num)
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
const Params * params() const
void updateDirectionInfo(ThreadID tid, bool actually_taken)
void recordTarget(InstSeqNum seq_num, void *indirect_history, const TheISA::PCState &target, ThreadID tid)
void deleteIndirectInfo(ThreadID tid, void *indirect_history)
GenericISA::DelaySlotPCState< MachInst > PCState
void recordIndirect(Addr br_addr, Addr tgt_addr, InstSeqNum seq_num, ThreadID tid)
SimpleIndirectPredictor(const SimpleIndirectPredictorParams *params)
void squash(InstSeqNum seq_num, ThreadID tid)
void changeDirectionPrediction(ThreadID tid, void *indirect_history, bool actually_taken)
std::deque< HistoryEntry > pathHist
const unsigned pathLength
Generated on Wed Sep 30 2020 14:02:09 for gem5 by doxygen 1.8.17