gem5  v21.1.0.2
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
gem5::Trace::TarmacTracerRecordV8::TraceRegEntryV8 Struct Reference

Register entry for v8 records. More...

#include <tarmac_record_v8.hh>

Inheritance diagram for gem5::Trace::TarmacTracerRecordV8::TraceRegEntryV8:
gem5::Trace::TarmacTracerRecord::TraceRegEntry gem5::Trace::TarmacTracerRecordV8::TraceEntryV8 gem5::Trace::TarmacBaseRecord::RegEntry gem5::Printable

Public Member Functions

 TraceRegEntryV8 (const TarmacContext &tarmCtx, const RegId &reg)
 
virtual void print (std::ostream &outs, int verbosity=0, const std::string &prefix="") const override
 
- Public Member Functions inherited from gem5::Trace::TarmacTracerRecord::TraceRegEntry
 TraceRegEntry (const TarmacContext &tarmCtx, const RegId &reg)
 
void update (const TarmacContext &tarmCtx)
 This updates the register entry using the update table. More...
 
- Public Member Functions inherited from gem5::Trace::TarmacBaseRecord::RegEntry
 RegEntry ()=default
 
 RegEntry (ArmISA::PCState pc)
 
- Public Member Functions inherited from gem5::Printable
 Printable ()
 
virtual ~Printable ()
 
- Public Member Functions inherited from gem5::Trace::TarmacTracerRecordV8::TraceEntryV8
 TraceEntryV8 (std::string _cpuName)
 

Protected Member Functions

void updateInt (const TarmacContext &tarmCtx, RegIndex regRelIdx) override
 
void updateMisc (const TarmacContext &tarmCtx, RegIndex regRelIdx) override
 Register update functions. More...
 
void updateVec (const TarmacContext &tarmCtx, RegIndex regRelIdx) override
 
void updatePred (const TarmacContext &tarmCtx, RegIndex regRelIdx) override
 
std::string formatReg () const
 Returning a string which contains the formatted register value: transformed in hex, 0 padded or/and split in chunks separated by underscores in case of vector register. More...
 
- Protected Member Functions inherited from gem5::Trace::TarmacTracerRecord::TraceRegEntry
virtual void updateCC (const TarmacContext &tarmCtx, RegIndex regRelIdx)
 
virtual void updateFloat (const TarmacContext &tarmCtx, RegIndex regRelIdx)
 

Protected Attributes

uint16_t regWidth
 Size in bits of arch register. More...
 
- Protected Attributes inherited from gem5::Trace::TarmacTracerRecordV8::TraceEntryV8
std::string cpuName
 

Additional Inherited Members

- Public Types inherited from gem5::Trace::TarmacBaseRecord::RegEntry
enum  RegElement { Lo = 0, Hi = 1, Max = 32 }
 
- Public Attributes inherited from gem5::Trace::TarmacTracerRecord::TraceRegEntry
bool regValid
 True if register entry is valid. More...
 
RegClass regClass
 Register class. More...
 
RegIndex regRel
 Register arch number. More...
 
std::string regName
 Register name to be printed. More...
 
- Public Attributes inherited from gem5::Trace::TarmacBaseRecord::RegEntry
RegType type
 
RegIndex index
 
ISetState isetstate
 
std::vector< uint64_t > values
 

Detailed Description

Register entry for v8 records.

Definition at line 96 of file tarmac_record_v8.hh.

Constructor & Destructor Documentation

◆ TraceRegEntryV8()

gem5::Trace::TarmacTracerRecordV8::TraceRegEntryV8::TraceRegEntryV8 ( const TarmacContext tarmCtx,
const RegId reg 
)

Definition at line 83 of file tarmac_record_v8.cc.

Member Function Documentation

◆ formatReg()

std::string gem5::Trace::TarmacTracerRecordV8::TraceRegEntryV8::formatReg ( ) const
protected

Returning a string which contains the formatted register value: transformed in hex, 0 padded or/and split in chunks separated by underscores in case of vector register.

Returns
str formatted string

Definition at line 305 of file tarmac_record_v8.cc.

References gem5::csprintf().

◆ print()

void gem5::Trace::TarmacTracerRecordV8::TraceRegEntryV8::print ( std::ostream &  outs,
int  verbosity = 0,
const std::string &  prefix = "" 
) const
overridevirtual

◆ updateInt()

void gem5::Trace::TarmacTracerRecordV8::TraceRegEntryV8::updateInt ( const TarmacContext tarmCtx,
RegIndex  regRelIdx 
)
overrideprotectedvirtual

◆ updateMisc()

void gem5::Trace::TarmacTracerRecordV8::TraceRegEntryV8::updateMisc ( const TarmacContext tarmCtx,
RegIndex  regRelIdx 
)
overrideprotectedvirtual

Register update functions.

Reimplemented from gem5::Trace::TarmacTracerRecord::TraceRegEntry.

Definition at line 124 of file tarmac_record_v8.cc.

References gem5::Trace::TarmacTracerRecord::TraceRegEntry::updateMisc().

◆ updatePred()

void gem5::Trace::TarmacTracerRecordV8::TraceRegEntryV8::updatePred ( const TarmacContext tarmCtx,
RegIndex  regRelIdx 
)
overrideprotectedvirtual

◆ updateVec()

void gem5::Trace::TarmacTracerRecordV8::TraceRegEntryV8::updateVec ( const TarmacContext tarmCtx,
RegIndex  regRelIdx 
)
overrideprotectedvirtual

Member Data Documentation

◆ regWidth

uint16_t gem5::Trace::TarmacTracerRecordV8::TraceRegEntryV8::regWidth
protected

Size in bits of arch register.

Definition at line 128 of file tarmac_record_v8.hh.


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

Generated on Tue Sep 21 2021 12:32:32 for gem5 by doxygen 1.8.17