gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::branch_prediction::ReturnAddrStack::RASHistory Class Reference

Public Attributes

bool pushed = false
 
bool poped = false
 
bool wasReturn = false
 
bool wasCall = false
 
std::unique_ptr< PCStateBaseras_entry
 The entry that poped from the RAS (only valid if a return).
 
unsigned tos = 0
 The RAS index (top of stack pointer) of the instruction.
 

Detailed Description

Definition at line 184 of file ras.hh.

Member Data Documentation

◆ poped

◆ pushed

bool gem5::branch_prediction::ReturnAddrStack::RASHistory::pushed = false

◆ ras_entry

std::unique_ptr<PCStateBase> gem5::branch_prediction::ReturnAddrStack::RASHistory::ras_entry

The entry that poped from the RAS (only valid if a return).

Definition at line 194 of file ras.hh.

Referenced by gem5::branch_prediction::ReturnAddrStack::commit(), gem5::branch_prediction::ReturnAddrStack::pop(), and gem5::branch_prediction::ReturnAddrStack::squash().

◆ tos

unsigned gem5::branch_prediction::ReturnAddrStack::RASHistory::tos = 0

The RAS index (top of stack pointer) of the instruction.

Definition at line 196 of file ras.hh.

Referenced by gem5::branch_prediction::ReturnAddrStack::pop(), and gem5::branch_prediction::ReturnAddrStack::squash().

◆ wasCall

bool gem5::branch_prediction::ReturnAddrStack::RASHistory::wasCall = false

Definition at line 192 of file ras.hh.

◆ wasReturn

bool gem5::branch_prediction::ReturnAddrStack::RASHistory::wasReturn = false

Definition at line 191 of file ras.hh.


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

Generated on Tue Jun 18 2024 16:24:18 for gem5 by doxygen 1.11.0