gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::RegClassOps Class Reference

#include <reg_class.hh>

Inheritance diagram for gem5::RegClassOps:
gem5::ArmISA::CCRegClassOps gem5::ArmISA::IntRegClassOps gem5::ArmISA::MiscRegClassOps gem5::SparcISA::IntRegClassOps gem5::TypedRegClassOps< ValueType > gem5::X86ISA::FlatFloatRegClassOps gem5::X86ISA::FlatIntRegClassOps gem5::VecElemRegClassOps< ValueType > gem5::X86ISA::FloatRegClassOps gem5::X86ISA::IntRegClassOps

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.
 

Detailed Description

Definition at line 168 of file reg_class.hh.

Member Function Documentation

◆ flatten()

virtual RegId gem5::RegClassOps::flatten ( const BaseISA & isa,
const RegId & id ) const
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().

◆ regName()

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

◆ valString()

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


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

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