|
gem5
v19.0.0.0
|
Register entry for v8 records. More...
#include <tarmac_record_v8.hh>
Public Member Functions | |
| TraceRegEntryV8 (const TarmacContext &tarmCtx, const RegId ®) | |
| virtual void | print (std::ostream &outs, int verbosity=0, const std::string &prefix="") const override |
Public Member Functions inherited from 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 |
| 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 Attributes | |
| uint16_t | regWidth |
| Size in bits of arch register. More... | |
Protected Attributes inherited from Trace::TarmacTracerRecordV8::TraceEntryV8 | |
| std::string | cpuName |
Register entry for v8 records.
Definition at line 95 of file tarmac_record_v8.hh.
| Trace::TarmacTracerRecordV8::TraceRegEntryV8::TraceRegEntryV8 | ( | const TarmacContext & | tarmCtx, |
| const RegId & | reg | ||
| ) |
Definition at line 77 of file tarmac_record_v8.cc.
|
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.
Definition at line 301 of file tarmac_record_v8.cc.
References csprintf(), and regWidth.
Referenced by print().
|
overridevirtual |
Definition at line 284 of file tarmac_record_v8.cc.
References ccprintf(), Trace::TarmacTracerRecordV8::TraceEntryV8::cpuName, curTick(), formatReg(), and Sinic::regValid().
|
overrideprotected |
Definition at line 87 of file tarmac_record_v8.cc.
References AlphaISA::FramePointerReg, RefCountingPtr< T >::get(), ArmISA::NUM_ARCH_INTREGS, ArmISA::PCReg, Sinic::regValid(), regWidth, AlphaISA::ReturnAddressReg, AlphaISA::StackPointerReg, Trace::TarmacContext::staticInst, sc_dt::to_string(), and Trace::TarmacTracerRecord::TraceRegEntry::updateInt().
|
overrideprotected |
Definition at line 118 of file tarmac_record_v8.cc.
References regWidth, and Trace::TarmacTracerRecord::TraceRegEntry::updateMisc().
|
overrideprotected |
Definition at line 154 of file tarmac_record_v8.cc.
References ArmISA::i, ThreadContext::readVecPredReg(), Sinic::regValid(), regWidth, Trace::InstRecord::thread, Trace::TarmacContext::thread, and sc_dt::to_string().
|
overrideprotected |
Definition at line 129 of file tarmac_record_v8.cc.
References VecRegContainer< Sz >::as(), ArmISA::i, ThreadContext::readVecReg(), Sinic::regValid(), regWidth, Trace::InstRecord::thread, Trace::TarmacContext::thread, and sc_dt::to_string().
|
protected |
Size in bits of arch register.
Definition at line 127 of file tarmac_record_v8.hh.
Referenced by formatReg(), updateInt(), updateMisc(), updatePred(), and updateVec().