gem5  v22.0.0.1
Public Member Functions | Public Attributes | List of all members
gem5::branch_prediction::MPP_StatisticalCorrector::MPP_SCThreadHistory Struct Reference

#include <multiperspective_perceptron_tage.hh>

Inheritance diagram for gem5::branch_prediction::MPP_StatisticalCorrector::MPP_SCThreadHistory:
gem5::branch_prediction::StatisticalCorrector::SCThreadHistory

Public Member Functions

 MPP_SCThreadHistory ()
 
int64_t getHistoryStackEntry () const
 
void updateHistoryStack (Addr target, bool taken, bool is_call, bool is_return)
 
unsigned int getPointer () const
 
- Public Member Functions inherited from gem5::branch_prediction::StatisticalCorrector::SCThreadHistory
 SCThreadHistory ()
 
void setNumOrdinalHistories (unsigned num)
 
void initLocalHistory (int ordinal, int numHistories, int shift)
 
int64_t getLocalHistory (int ordinal, Addr pc)
 
void updateLocalHistory (int ordinal, Addr branch_pc, bool taken, Addr extraXor=0)
 

Public Attributes

int64_t globalHist
 
std::vector< int64_t > historyStack
 
unsigned int historyStackPointer
 
- Public Attributes inherited from gem5::branch_prediction::StatisticalCorrector::SCThreadHistory
int64_t bwHist
 
int64_t imliCount
 

Detailed Description

Definition at line 121 of file multiperspective_perceptron_tage.hh.

Constructor & Destructor Documentation

◆ MPP_SCThreadHistory()

gem5::branch_prediction::MPP_StatisticalCorrector::MPP_SCThreadHistory::MPP_SCThreadHistory ( )
inline

Definition at line 123 of file multiperspective_perceptron_tage.hh.

Member Function Documentation

◆ getHistoryStackEntry()

int64_t gem5::branch_prediction::MPP_StatisticalCorrector::MPP_SCThreadHistory::getHistoryStackEntry ( ) const
inline

Definition at line 129 of file multiperspective_perceptron_tage.hh.

References historyStack, and historyStackPointer.

◆ getPointer()

unsigned int gem5::branch_prediction::MPP_StatisticalCorrector::MPP_SCThreadHistory::getPointer ( ) const
inline

Definition at line 151 of file multiperspective_perceptron_tage.hh.

References historyStackPointer.

◆ updateHistoryStack()

void gem5::branch_prediction::MPP_StatisticalCorrector::MPP_SCThreadHistory::updateHistoryStack ( Addr  target,
bool  taken,
bool  is_call,
bool  is_return 
)
inline

Member Data Documentation

◆ globalHist

int64_t gem5::branch_prediction::MPP_StatisticalCorrector::MPP_SCThreadHistory::globalHist

Definition at line 125 of file multiperspective_perceptron_tage.hh.

◆ historyStack

std::vector<int64_t> gem5::branch_prediction::MPP_StatisticalCorrector::MPP_SCThreadHistory::historyStack

◆ historyStackPointer

unsigned int gem5::branch_prediction::MPP_StatisticalCorrector::MPP_SCThreadHistory::historyStackPointer

The documentation for this struct was generated from the following file:

Generated on Sat Jun 18 2022 08:13:39 for gem5 by doxygen 1.8.17