gem5  v22.0.0.2
Public Member Functions | List of all members
gem5::RegClassOps Class Reference

#include <reg_class.hh>

Inheritance diagram for gem5::RegClassOps:
gem5::ArmISA::MiscRegClassOps gem5::TypedRegClassOps< ValueType > gem5::VecElemRegClassOps< ValueType >

Public Member Functions

virtual std::string regName (const RegId &id) const
 Print the name of the register specified in id. More...
 
virtual std::string valString (const void *val, size_t size) const
 Print the value of a register pointed to by val of size size. More...
 

Detailed Description

Definition at line 72 of file reg_class.hh.

Member Function Documentation

◆ regName()

std::string gem5::RegClassOps::regName ( const RegId id) const
virtual

Print the name of the register specified in id.

Reimplemented in gem5::VecElemRegClassOps< ValueType >, and gem5::ArmISA::MiscRegClassOps.

Definition at line 53 of file reg_class.cc.

References gem5::csprintf(), and gem5::MipsISA::index.

Referenced by gem5::RegClass::regName().

◆ valString()

std::string gem5::RegClassOps::valString ( const void *  val,
size_t  size 
) const
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().


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

Generated on Thu Jul 28 2022 13:33:11 for gem5 by doxygen 1.8.17