34#ifndef __CPU_PRED_GSHARE_PRED_HH__
35#define __CPU_PRED_GSHARE_PRED_HH__
39#include "params/GshareBP.hh"
BPredUnit(const Params &p)
Branch Predictor Unit (BPU) interface functions.
std::vector< unsigned > globalHistoryReg
void uncondBranch(ThreadID tid, Addr pc, void *&bp_history)
void updateHistories(ThreadID tid, Addr pc, bool uncond, bool taken, Addr target, const StaticInstPtr &inst, void *&bp_history)
unsigned globalPredictorSize
unsigned globalHistoryBits
unsigned globalHistoryMask
unsigned historyRegisterMask
GshareBP(const GshareBPParams ¶ms)
bool lookup(ThreadID tid, Addr pc, void *&bp_history)
void update(ThreadID tid, Addr pc, bool taken, void *&bp_history, bool squashed, const StaticInstPtr &inst, Addr target)
void squash(ThreadID tid, void *&bp_history)
std::vector< SatCounter8 > globalCtrs
void updateGlobalHistReg(ThreadID tid, bool taken)
const Params & params() const
Copyright (c) 2024 Arm Limited All rights reserved.
int16_t ThreadID
Thread index/ID type.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
RefCountingPtr< StaticInst > StaticInstPtr
unsigned globalHistoryReg