|
gem5
v21.1.0.2
|
#include <types.hh>
Public Member Functions | |
| Addr | pc () const |
| void | pc (Addr val) |
| Addr | npc () const |
| void | npc (Addr val) |
| void | set (Addr val) |
| void | setNPC (Addr val) |
| SimplePCState () | |
| SimplePCState (Addr val) | |
| bool | branching () const |
| void | advance () |
Public Member Functions inherited from gem5::GenericISA::PCStateBase | |
| Addr | instAddr () const |
| Returns the memory address the bytes of this instruction came from. More... | |
| Addr | nextInstAddr () const |
| Returns the memory address the bytes of the next instruction came from. More... | |
| MicroPC | microPC () const |
| Returns the current micropc. More... | |
| void | set (Addr val) |
| Force this PC to reflect a particular value, resetting all its other fields around it. More... | |
| bool | operator== (const PCStateBase &opc) const |
| bool | operator!= (const PCStateBase &opc) const |
| void | serialize (CheckpointOut &cp) const override |
| Serialize an object. More... | |
| void | unserialize (CheckpointIn &cp) override |
| Unserialize an object. More... | |
Public Member Functions inherited from gem5::Serializable | |
| Serializable () | |
| virtual | ~Serializable () |
| void | serializeSection (CheckpointOut &cp, const char *name) const |
| Serialize an object into a new section. More... | |
| void | serializeSection (CheckpointOut &cp, const std::string &name) const |
| void | unserializeSection (CheckpointIn &cp, const char *name) |
| Unserialize an a child object. More... | |
| void | unserializeSection (CheckpointIn &cp, const std::string &name) |
Protected Types | |
| typedef PCStateBase | Base |
Additional Inherited Members | |
Static Public Member Functions inherited from gem5::Serializable | |
| static const std::string & | currentSection () |
| Gets the fully-qualified name of the active section. More... | |
| static void | generateCheckpointOut (const std::string &cpt_dir, std::ofstream &outstream) |
| Generate a checkpoint file so that the serialization can be routed to it. More... | |
Protected Member Functions inherited from gem5::GenericISA::PCStateBase | |
| PCStateBase () | |
| PCStateBase (Addr val) | |
Protected Attributes inherited from gem5::GenericISA::PCStateBase | |
| Addr | _pc |
| Addr | _npc |
|
protected |
|
inline |
|
inline |
|
inline |
Definition at line 181 of file types.hh.
Referenced by gem5::X86ISA::PCState::advance(), gem5::ArmISA::MightBeMicro::advancePC(), gem5::PowerISA::PowerStaticInst::advancePC(), gem5::ArmISA::MightBeMicro64::advancePC(), gem5::ArmISA::MicroOp::advancePC(), gem5::ArmISA::MicroOpX::advancePC(), gem5::ArmISA::ArmStaticInst::advancePC(), gem5::ArmISA::FpOp::advancePC(), gem5::RiscvISA::RiscvStaticInst::buildRetPC(), gem5::PowerISA::PowerStaticInst::buildRetPC(), and gem5::GenericISA::UPCState< 8 >::uEnd().
|
inline |
|
inline |
Definition at line 154 of file types.hh.
Referenced by gem5::RiscvISA::PCState::branching(), gem5::X86ISA::PCState::branching(), gem5::GenericISA::SimplePCState< 4 >::branching(), gem5::GenericISA::UPCState< 8 >::branching(), gem5::GenericISA::DelaySlotPCState< 4 >::branching(), gem5::X86ISA::X86MicroopBase::branchTarget(), gem5::RiscvISA::RiscvStaticInst::buildRetPC(), gem5::SparcISA::SparcStaticInst::buildRetPC(), gem5::RiscvISA::Decoder::decode(), gem5::GenericISA::SimplePCState< 4 >::set(), gem5::GenericISA::SimplePCState< 4 >::setNPC(), and gem5::X86ISA::Decoder::updateNPC().
|
inline |
|
inline |
Definition at line 151 of file types.hh.
Referenced by gem5::RiscvISA::PCState::branching(), gem5::X86ISA::PCState::branching(), gem5::GenericISA::SimplePCState< 4 >::branching(), gem5::GenericISA::UPCState< 8 >::branching(), gem5::GenericISA::DelaySlotPCState< 4 >::branching(), gem5::RiscvISA::RiscvStaticInst::buildRetPC(), gem5::SparcISA::SparcStaticInst::buildRetPC(), gem5::X86ISA::X86FaultBase::invoke(), gem5::GenericISA::SimplePCState< 4 >::set(), gem5::ArmISA::SelfDebug::testBreakPoints(), gem5::RiscvISA::BreakpointFault::trap_value(), and gem5::X86ISA::Decoder::updateNPC().
|
inline |
|
inline |
Definition at line 158 of file types.hh.
Referenced by gem5::PowerISA::PCState::set(), gem5::X86ISA::PCState::set(), gem5::GenericISA::UPCState< 8 >::set(), gem5::GenericISA::DelaySlotPCState< 4 >::set(), and gem5::GenericISA::SimplePCState< 4 >::SimplePCState().
|
inline |
Definition at line 165 of file types.hh.
Referenced by gem5::X86ISA::PCState::setNPC().