void init(unsigned numEntries)
Initializes RAS with a specified number of entries.
void decrTos()
Decrements the top of stack index.
unsigned tos
The top of stack index.
std::vector< TheISA::PCState > addrStack
The RAS itself.
unsigned usedEntries
The number of used entries in the RAS.
void restore(unsigned top_entry_idx, const TheISA::PCState &restored)
Changes index to the top of the RAS, and replaces the top address with a new target.
void incrTos()
Increments the top of stack index.
GenericISA::DelaySlotPCState< MachInst > PCState
unsigned numEntries
The number of entries in the RAS.
void push(const TheISA::PCState &return_addr)
Pushes an address onto the RAS.
void pop()
Pops the top address from the RAS.
Generated on Wed Sep 30 2020 14:02:09 for gem5 by doxygen 1.8.17