29#ifndef __CPU_PRED_INDIRECT_HH__
30#define __CPU_PRED_INDIRECT_HH__
36#include "params/SimpleIndirectPredictor.hh"
41namespace branch_prediction
const unsigned pathLength
void updateDirectionInfo(ThreadID tid, bool actually_taken)
std::vector< std::vector< IPredEntry > > targetCache
std::vector< ThreadInfo > threadInfo
const unsigned ghrNumBits
bool lookup(Addr br_addr, PCStateBase &br_target, ThreadID tid)
void genIndirectInfo(ThreadID tid, void *&indirect_history)
void commit(InstSeqNum seq_num, ThreadID tid, void *indirect_history)
void squash(InstSeqNum seq_num, ThreadID tid)
void changeDirectionPrediction(ThreadID tid, void *indirect_history, bool actually_taken)
void recordTarget(InstSeqNum seq_num, void *indirect_history, const PCStateBase &target, ThreadID tid)
Addr getSetIndex(Addr br_addr, unsigned ghr, ThreadID tid)
void recordIndirect(Addr br_addr, Addr tgt_addr, InstSeqNum seq_num, ThreadID tid)
Addr getTag(Addr br_addr)
void deleteIndirectInfo(ThreadID tid, void *indirect_history)
const Params & params() const
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
int16_t ThreadID
Thread index/ID type.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
HistoryEntry(Addr br_addr, Addr tgt_addr, InstSeqNum seq_num)
std::unique_ptr< PCStateBase > target
std::deque< HistoryEntry > pathHist