gem5 v24.0.0.0
|
#include <reg_class.hh>
Public Member Functions | |
virtual std::string | regName (const RegId &id) const |
Print the name of the register specified in id. | |
virtual std::string | valString (const void *val, const size_t &size) const |
Print the value of a register pointed to by val of size size. | |
virtual RegId | flatten (const BaseISA &isa, const RegId &id) const |
Flatten register id id using information in the ISA object isa. | |
Definition at line 168 of file reg_class.hh.
|
inlinevirtual |
Flatten register id id using information in the ISA object isa.
Reimplemented in gem5::ArmISA::IntRegClassOps, gem5::SparcISA::IntRegClassOps, gem5::X86ISA::FloatRegClassOps, and gem5::X86ISA::IntRegClassOps.
Definition at line 177 of file reg_class.hh.
References gem5::ArmISA::id.
Referenced by gem5::RegClass::flatten().
|
virtual |
Print the name of the register specified in id.
Reimplemented in gem5::ArmISA::CCRegClassOps, gem5::ArmISA::MiscRegClassOps, gem5::VecElemRegClassOps< ValueType >, gem5::X86ISA::FlatFloatRegClassOps, and gem5::X86ISA::FlatIntRegClassOps.
Definition at line 53 of file reg_class.cc.
References gem5::csprintf(), and gem5::MipsISA::index.
Referenced by gem5::RegClass::regName().
|
virtual |
Print the value of a register pointed to by val of size size.
Reimplemented in gem5::TypedRegClassOps< ValueType >.
Definition at line 59 of file reg_class.cc.
References gem5::HostByteOrder, gem5::printByteBuf(), gem5::printUintX(), and gem5::X86ISA::val.
Referenced by gem5::RegClass::valString(), and gem5::RegClass::valString().