gem5
v20.0.0.0
|
#include <exec_context.hh>
Public Member Functions | |
SimpleExecContext (BaseSimpleCPU *_cpu, SimpleThread *_thread) | |
Constructor. More... | |
RegVal | readIntRegOperand (const StaticInst *si, int idx) override |
Reads an integer register. More... | |
void | setIntRegOperand (const StaticInst *si, int idx, RegVal val) override |
Sets an integer register to a value. More... | |
RegVal | readFloatRegOperandBits (const StaticInst *si, int idx) override |
Reads a floating point register in its binary format, instead of by value. More... | |
void | setFloatRegOperandBits (const StaticInst *si, int idx, RegVal val) override |
Sets the bits of a floating point register of single width to a binary value. More... | |
const VecRegContainer & | readVecRegOperand (const StaticInst *si, int idx) const override |
Reads a vector register. More... | |
VecRegContainer & | getWritableVecRegOperand (const StaticInst *si, int idx) override |
Reads a vector register for modification. More... | |
void | setVecRegOperand (const StaticInst *si, int idx, const VecRegContainer &val) override |
Sets a vector register to a value. More... | |
VecElem | readVecElemOperand (const StaticInst *si, int idx) const override |
Reads an element of a vector register. More... | |
void | setVecElemOperand (const StaticInst *si, int idx, const VecElem val) override |
Sets an element of a vector register to a value. More... | |
const VecPredRegContainer & | readVecPredRegOperand (const StaticInst *si, int idx) const override |
Predicate registers interface. More... | |
VecPredRegContainer & | getWritableVecPredRegOperand (const StaticInst *si, int idx) override |
Gets destination predicate register operand for modification. More... | |
void | setVecPredRegOperand (const StaticInst *si, int idx, const VecPredRegContainer &val) override |
Sets a destination predicate register operand to a value. More... | |
RegVal | readCCRegOperand (const StaticInst *si, int idx) override |
void | setCCRegOperand (const StaticInst *si, int idx, RegVal val) override |
RegVal | readMiscRegOperand (const StaticInst *si, int idx) override |
void | setMiscRegOperand (const StaticInst *si, int idx, RegVal val) override |
RegVal | readMiscReg (int misc_reg) override |
Reads a miscellaneous register, handling any architectural side effects due to reading that register. More... | |
void | setMiscReg (int misc_reg, RegVal val) override |
Sets a miscellaneous register, handling any architectural side effects due to writing that register. More... | |
PCState | pcState () const override |
void | pcState (const PCState &val) override |
Fault | readMem (Addr addr, uint8_t *data, unsigned int size, Request::Flags flags, const std::vector< bool > &byte_enable=std::vector< bool >()) override |
Perform an atomic memory read operation. More... | |
Fault | initiateMemRead (Addr addr, unsigned int size, Request::Flags flags, const std::vector< bool > &byte_enable=std::vector< bool >()) override |
Initiate a timing memory read operation. More... | |
Fault | writeMem (uint8_t *data, unsigned int size, Addr addr, Request::Flags flags, uint64_t *res, const std::vector< bool > &byte_enable=std::vector< bool >()) override |
For atomic-mode contexts, perform an atomic memory write operation. More... | |
Fault | amoMem (Addr addr, uint8_t *data, unsigned int size, Request::Flags flags, AtomicOpFunctorPtr amo_op) override |
For atomic-mode contexts, perform an atomic AMO (a.k.a., Atomic Read-Modify-Write Memory Operation) More... | |
Fault | initiateMemAMO (Addr addr, unsigned int size, Request::Flags flags, AtomicOpFunctorPtr amo_op) override |
For timing-mode contexts, initiate an atomic AMO (atomic read-modify-write memory operation) More... | |
void | setStCondFailures (unsigned int sc_failures) override |
Sets the number of consecutive store conditional failures. More... | |
unsigned int | readStCondFailures () const override |
Returns the number of consecutive store conditional failures. More... | |
void | syscall (Fault *fault) override |
Executes a syscall specified by the callnum. More... | |
ThreadContext * | tcBase () const override |
Returns a pointer to the ThreadContext. More... | |
bool | readPredicate () const override |
void | setPredicate (bool val) override |
bool | readMemAccPredicate () const override |
void | setMemAccPredicate (bool val) override |
void | demapPage (Addr vaddr, uint64_t asn) override |
Invalidate a page in the DTLB and ITLB. More... | |
void | armMonitor (Addr address) override |
bool | mwait (PacketPtr pkt) override |
void | mwaitAtomic (ThreadContext *tc) override |
AddressMonitor * | getAddrMonitor () override |
template<typename VecElem > | |
VecLaneT< VecElem, true > | readVecLaneOperand (const StaticInst *si, int idx) const |
Vector Register Lane Interfaces. More... | |
virtual ConstVecLane8 | readVec8BitLaneOperand (const StaticInst *si, int idx) const override |
Reads source vector 8bit operand. More... | |
virtual ConstVecLane16 | readVec16BitLaneOperand (const StaticInst *si, int idx) const override |
Reads source vector 16bit operand. More... | |
virtual ConstVecLane32 | readVec32BitLaneOperand (const StaticInst *si, int idx) const override |
Reads source vector 32bit operand. More... | |
virtual ConstVecLane64 | readVec64BitLaneOperand (const StaticInst *si, int idx) const override |
Reads source vector 64bit operand. More... | |
template<typename LD > | |
void | setVecLaneOperandT (const StaticInst *si, int idx, const LD &val) |
Write a lane of the destination vector operand. More... | |
virtual void | setVecLaneOperand (const StaticInst *si, int idx, const LaneData< LaneSize::Byte > &val) override |
Write a lane of the destination vector operand. More... | |
virtual void | setVecLaneOperand (const StaticInst *si, int idx, const LaneData< LaneSize::TwoByte > &val) override |
Write a lane of the destination vector operand. More... | |
virtual void | setVecLaneOperand (const StaticInst *si, int idx, const LaneData< LaneSize::FourByte > &val) override |
Write a lane of the destination vector operand. More... | |
virtual void | setVecLaneOperand (const StaticInst *si, int idx, const LaneData< LaneSize::EightByte > &val) override |
Write a lane of the destination vector operand. More... | |
Integer Register Interfaces | |
Floating Point Register Interfaces | |
Condition Code Registers | |
Misc Register Interfaces | |
PC Control | |
Memory Interface | |
SysCall Emulation Interfaces | |
ARM-Specific Interfaces | |
X86-Specific Interfaces |
Protected Types | |
using | VecRegContainer = TheISA::VecRegContainer |
using | VecElem = TheISA::VecElem |
Additional Inherited Members | |
![]() | |
typedef TheISA::PCState | PCState |
using | VecRegContainer = TheISA::VecRegContainer |
using | VecElem = TheISA::VecElem |
using | VecPredRegContainer = TheISA::VecPredRegContainer |
Definition at line 57 of file exec_context.hh.
|
protected |
Definition at line 60 of file exec_context.hh.
|
protected |
Definition at line 59 of file exec_context.hh.
|
inline |
Constructor.
Definition at line 167 of file exec_context.hh.
|
inlineoverridevirtual |
For atomic-mode contexts, perform an atomic AMO (a.k.a., Atomic Read-Modify-Write Memory Operation)
Reimplemented from ExecContext.
Definition at line 463 of file exec_context.hh.
References BaseSimpleCPU::amoMem().
|
inlineoverridevirtual |
Implements ExecContext.
Definition at line 544 of file exec_context.hh.
References BaseCPU::armMonitor(), and SimpleThread::threadId().
|
inlineoverridevirtual |
Invalidate a page in the DTLB and ITLB.
Implements ExecContext.
Definition at line 538 of file exec_context.hh.
References SimpleThread::demapPage().
|
inlineoverridevirtual |
Implements ExecContext.
Definition at line 562 of file exec_context.hh.
References BaseCPU::getCpuAddrMonitor(), and SimpleThread::threadId().
|
inlineoverridevirtual |
Gets destination predicate register operand for modification.
Implements ExecContext.
Definition at line 345 of file exec_context.hh.
References StaticInst::destRegIdx(), SimpleThread::getWritableVecPredReg(), RegId::isVecPredReg(), and X86ISA::reg.
|
inlineoverridevirtual |
Reads a vector register for modification.
Implements ExecContext.
Definition at line 226 of file exec_context.hh.
References StaticInst::destRegIdx(), SimpleThread::getWritableVecReg(), RegId::isVecReg(), and X86ISA::reg.
|
inlineoverridevirtual |
For timing-mode contexts, initiate an atomic AMO (atomic read-modify-write memory operation)
Reimplemented from ExecContext.
Definition at line 469 of file exec_context.hh.
References BaseSimpleCPU::initiateMemAMO().
|
inlineoverridevirtual |
Initiate a timing memory read operation.
Must be overridden for exec contexts that support timing memory mode. Not pure virtual since exec contexts that only support atomic memory mode need not override (though in that case this function should never be called).
Reimplemented from ExecContext.
Definition at line 444 of file exec_context.hh.
References BaseSimpleCPU::initiateMemRead().
|
inlineoverridevirtual |
Implements ExecContext.
Definition at line 550 of file exec_context.hh.
References BaseCPU::mwait(), and SimpleThread::threadId().
|
inlineoverridevirtual |
Implements ExecContext.
Definition at line 556 of file exec_context.hh.
References SimpleThread::dtb, BaseCPU::mwaitAtomic(), and SimpleThread::threadId().
|
inlineoverridevirtual |
Implements ExecContext.
Definition at line 422 of file exec_context.hh.
References SimpleThread::pcState().
|
inlineoverridevirtual |
Implements ExecContext.
Definition at line 428 of file exec_context.hh.
References SimpleThread::pcState().
|
inlineoverridevirtual |
Implements ExecContext.
Definition at line 364 of file exec_context.hh.
References RegId::index(), RegId::isCCReg(), SimpleThread::readCCReg(), X86ISA::reg, and StaticInst::srcRegIdx().
|
inlineoverridevirtual |
Reads a floating point register in its binary format, instead of by value.
Implements ExecContext.
Definition at line 195 of file exec_context.hh.
References RegId::index(), RegId::isFloatReg(), SimpleThread::readFloatReg(), X86ISA::reg, and StaticInst::srcRegIdx().
|
inlineoverridevirtual |
Reads an integer register.
Implements ExecContext.
Definition at line 174 of file exec_context.hh.
References RegId::index(), RegId::isIntReg(), SimpleThread::readIntReg(), X86ISA::reg, and StaticInst::srcRegIdx().
|
inlineoverridevirtual |
Perform an atomic memory read operation.
Must be overridden for exec contexts that support atomic memory mode. Not pure virtual since exec contexts that only support timing memory mode need not override (though in that case this function should never be called).
Reimplemented from ExecContext.
Definition at line 434 of file exec_context.hh.
References BaseSimpleCPU::readMem().
|
inlineoverridevirtual |
Implements ExecContext.
Definition at line 523 of file exec_context.hh.
References SimpleThread::readMemAccPredicate().
|
inlineoverridevirtual |
Reads a miscellaneous register, handling any architectural side effects due to reading that register.
Implements ExecContext.
Definition at line 404 of file exec_context.hh.
References SimpleThread::readMiscReg().
|
inlineoverridevirtual |
Implements ExecContext.
Definition at line 382 of file exec_context.hh.
References RegId::index(), RegId::isMiscReg(), SimpleThread::readMiscReg(), X86ISA::reg, and StaticInst::srcRegIdx().
|
inlineoverridevirtual |
Implements ExecContext.
Definition at line 507 of file exec_context.hh.
References SimpleThread::readPredicate().
|
inlineoverridevirtual |
Returns the number of consecutive store conditional failures.
Implements ExecContext.
Definition at line 489 of file exec_context.hh.
References SimpleThread::readStCondFailures().
|
inlineoverridevirtual |
Reads source vector 16bit operand.
Implements ExecContext.
Definition at line 265 of file exec_context.hh.
References PowerISA::si.
|
inlineoverridevirtual |
Reads source vector 32bit operand.
Implements ExecContext.
Definition at line 271 of file exec_context.hh.
References PowerISA::si.
|
inlineoverridevirtual |
Reads source vector 64bit operand.
Implements ExecContext.
Definition at line 277 of file exec_context.hh.
References PowerISA::si.
|
inlineoverridevirtual |
Reads source vector 8bit operand.
Implements ExecContext.
Definition at line 259 of file exec_context.hh.
References PowerISA::si.
|
inlineoverridevirtual |
Reads an element of a vector register.
Implements ExecContext.
Definition at line 316 of file exec_context.hh.
References RegId::isVecElem(), SimpleThread::readVecElem(), X86ISA::reg, and StaticInst::srcRegIdx().
|
inline |
Vector Register Lane Interfaces.
Reads source vector lane.
Definition at line 250 of file exec_context.hh.
References RegId::isVecReg(), SimpleThread::readVecLane(), X86ISA::reg, and StaticInst::srcRegIdx().
|
inlineoverridevirtual |
Predicate registers interface.
Reads source predicate register operand.
Implements ExecContext.
Definition at line 336 of file exec_context.hh.
References RegId::isVecPredReg(), SimpleThread::readVecPredReg(), X86ISA::reg, and StaticInst::srcRegIdx().
|
inlineoverridevirtual |
Reads a vector register.
Implements ExecContext.
Definition at line 216 of file exec_context.hh.
References RegId::isVecReg(), SimpleThread::readVecReg(), X86ISA::reg, and StaticInst::srcRegIdx().
|
inlineoverridevirtual |
Implements ExecContext.
Definition at line 373 of file exec_context.hh.
References StaticInst::destRegIdx(), RegId::index(), RegId::isCCReg(), X86ISA::reg, SimpleThread::setCCReg(), and X86ISA::val.
|
inlineoverridevirtual |
Sets the bits of a floating point register of single width to a binary value.
Implements ExecContext.
Definition at line 206 of file exec_context.hh.
References StaticInst::destRegIdx(), RegId::index(), RegId::isFloatReg(), X86ISA::reg, SimpleThread::setFloatReg(), and X86ISA::val.
|
inlineoverridevirtual |
Sets an integer register to a value.
Implements ExecContext.
Definition at line 184 of file exec_context.hh.
References StaticInst::destRegIdx(), RegId::index(), RegId::isIntReg(), X86ISA::reg, SimpleThread::setIntReg(), and X86ISA::val.
|
inlineoverridevirtual |
Implements ExecContext.
Definition at line 529 of file exec_context.hh.
References SimpleThread::setMemAccPredicate().
Referenced by BaseSimpleCPU::preExecute().
|
inlineoverridevirtual |
Sets a miscellaneous register, handling any architectural side effects due to writing that register.
Implements ExecContext.
Definition at line 415 of file exec_context.hh.
References SimpleThread::setMiscReg().
|
inlineoverridevirtual |
Implements ExecContext.
Definition at line 391 of file exec_context.hh.
References StaticInst::destRegIdx(), RegId::index(), RegId::isMiscReg(), X86ISA::reg, SimpleThread::setMiscReg(), and X86ISA::val.
|
inlineoverridevirtual |
Implements ExecContext.
Definition at line 513 of file exec_context.hh.
References Trace::InstRecord::setPredicate(), SimpleThread::setPredicate(), and BaseSimpleCPU::traceData.
Referenced by BaseSimpleCPU::preExecute().
|
inlineoverridevirtual |
Sets the number of consecutive store conditional failures.
Implements ExecContext.
Definition at line 480 of file exec_context.hh.
References SimpleThread::setStCondFailures().
|
inlineoverridevirtual |
Sets an element of a vector register to a value.
Implements ExecContext.
Definition at line 326 of file exec_context.hh.
References StaticInst::destRegIdx(), RegId::isVecElem(), X86ISA::reg, and SimpleThread::setVecElem().
|
inlineoverridevirtual |
Write a lane of the destination vector operand.
Implements ExecContext.
Definition at line 294 of file exec_context.hh.
References setVecLaneOperandT().
|
inlineoverridevirtual |
Write a lane of the destination vector operand.
Implements ExecContext.
Definition at line 299 of file exec_context.hh.
References setVecLaneOperandT().
|
inlineoverridevirtual |
Write a lane of the destination vector operand.
Implements ExecContext.
Definition at line 304 of file exec_context.hh.
References setVecLaneOperandT().
|
inlineoverridevirtual |
Write a lane of the destination vector operand.
Implements ExecContext.
Definition at line 309 of file exec_context.hh.
References setVecLaneOperandT().
|
inline |
Write a lane of the destination vector operand.
Definition at line 284 of file exec_context.hh.
References StaticInst::destRegIdx(), RegId::isVecReg(), X86ISA::reg, and SimpleThread::setVecLane().
Referenced by setVecLaneOperand().
|
inlineoverridevirtual |
Sets a destination predicate register operand to a value.
Implements ExecContext.
Definition at line 354 of file exec_context.hh.
References StaticInst::destRegIdx(), RegId::isVecPredReg(), X86ISA::reg, and SimpleThread::setVecPredReg().
|
inlineoverridevirtual |
Sets a vector register to a value.
Implements ExecContext.
Definition at line 236 of file exec_context.hh.
References StaticInst::destRegIdx(), RegId::isVecReg(), X86ISA::reg, and SimpleThread::setVecReg().
|
inlineoverridevirtual |
Executes a syscall specified by the callnum.
Implements ExecContext.
Definition at line 498 of file exec_context.hh.
References SimpleThread::syscall().
|
inlineoverridevirtual |
Returns a pointer to the ThreadContext.
Implements ExecContext.
Definition at line 504 of file exec_context.hh.
References SimpleThread::getTC().
|
inlineoverridevirtual |
For atomic-mode contexts, perform an atomic memory write operation.
For timing-mode contexts, initiate a timing memory write operation.
Implements ExecContext.
Definition at line 454 of file exec_context.hh.
References BaseSimpleCPU::writeMem().
BaseSimpleCPU* SimpleExecContext::cpu |
Definition at line 63 of file exec_context.hh.
Stats::Scalar SimpleExecContext::dcacheStallCycles |
Definition at line 150 of file exec_context.hh.
Referenced by BaseSimpleCPU::regStats().
Addr SimpleExecContext::fetchOffset |
Definition at line 67 of file exec_context.hh.
Referenced by BaseSimpleCPU::advancePC(), BaseSimpleCPU::checkForInterrupts(), BaseSimpleCPU::preExecute(), and BaseSimpleCPU::setupFetchRequest().
Stats::Scalar SimpleExecContext::icacheStallCycles |
Definition at line 146 of file exec_context.hh.
Referenced by BaseSimpleCPU::regStats().
Stats::Formula SimpleExecContext::idleFraction |
Definition at line 143 of file exec_context.hh.
Referenced by BaseSimpleCPU::regStats().
Counter SimpleExecContext::lastDcacheStall |
Definition at line 151 of file exec_context.hh.
Counter SimpleExecContext::lastIcacheStall |
Definition at line 147 of file exec_context.hh.
Stats::Average SimpleExecContext::notIdleFraction |
Definition at line 142 of file exec_context.hh.
Referenced by BaseSimpleCPU::regStats().
Stats::Scalar SimpleExecContext::numBranches |
Total number of branches fetched
Definition at line 155 of file exec_context.hh.
Referenced by BaseSimpleCPU::postExecute(), and BaseSimpleCPU::regStats().
Stats::Scalar SimpleExecContext::numBranchMispred |
Number of misprediced branches.
Definition at line 159 of file exec_context.hh.
Referenced by BaseSimpleCPU::advancePC(), and BaseSimpleCPU::regStats().
Stats::Formula SimpleExecContext::numBusyCycles |
Definition at line 136 of file exec_context.hh.
Referenced by BaseSimpleCPU::regStats().
Stats::Scalar SimpleExecContext::numCallsReturns |
Definition at line 93 of file exec_context.hh.
Referenced by BaseSimpleCPU::postExecute(), and BaseSimpleCPU::regStats().
Stats::Scalar SimpleExecContext::numCCRegReads |
Definition at line 124 of file exec_context.hh.
Referenced by BaseSimpleCPU::regStats().
Stats::Scalar SimpleExecContext::numCCRegWrites |
Definition at line 125 of file exec_context.hh.
Referenced by BaseSimpleCPU::regStats().
Stats::Scalar SimpleExecContext::numCondCtrlInsts |
Definition at line 96 of file exec_context.hh.
Referenced by BaseSimpleCPU::postExecute(), and BaseSimpleCPU::regStats().
Stats::Scalar SimpleExecContext::numFpAluAccesses |
Definition at line 87 of file exec_context.hh.
Referenced by BaseSimpleCPU::postExecute(), and BaseSimpleCPU::regStats().
Stats::Scalar SimpleExecContext::numFpInsts |
Definition at line 102 of file exec_context.hh.
Referenced by BaseSimpleCPU::postExecute(), and BaseSimpleCPU::regStats().
Stats::Scalar SimpleExecContext::numFpRegReads |
Definition at line 112 of file exec_context.hh.
Referenced by BaseSimpleCPU::regStats().
Stats::Scalar SimpleExecContext::numFpRegWrites |
Definition at line 113 of file exec_context.hh.
Referenced by BaseSimpleCPU::regStats().
Stats::Formula SimpleExecContext::numIdleCycles |
Definition at line 133 of file exec_context.hh.
Referenced by BaseSimpleCPU::regStats().
Counter SimpleExecContext::numInst |
PER-THREAD STATS.
Definition at line 78 of file exec_context.hh.
Referenced by BaseSimpleCPU::countInst(), and BaseSimpleCPU::preExecute().
Stats::Scalar SimpleExecContext::numInsts |
Definition at line 79 of file exec_context.hh.
Referenced by BaseSimpleCPU::countInst(), and BaseSimpleCPU::regStats().
Stats::Scalar SimpleExecContext::numIntAluAccesses |
Definition at line 84 of file exec_context.hh.
Referenced by BaseSimpleCPU::postExecute(), and BaseSimpleCPU::regStats().
Stats::Scalar SimpleExecContext::numIntInsts |
Definition at line 99 of file exec_context.hh.
Referenced by BaseSimpleCPU::postExecute(), and BaseSimpleCPU::regStats().
Stats::Scalar SimpleExecContext::numIntRegReads |
Definition at line 108 of file exec_context.hh.
Referenced by BaseSimpleCPU::regStats().
Stats::Scalar SimpleExecContext::numIntRegWrites |
Definition at line 109 of file exec_context.hh.
Referenced by BaseSimpleCPU::regStats().
Counter SimpleExecContext::numLoad |
Definition at line 139 of file exec_context.hh.
Referenced by BaseSimpleCPU::postExecute().
Stats::Scalar SimpleExecContext::numLoadInsts |
Definition at line 129 of file exec_context.hh.
Referenced by BaseSimpleCPU::postExecute(), and BaseSimpleCPU::regStats().
Stats::Scalar SimpleExecContext::numMemRefs |
Definition at line 128 of file exec_context.hh.
Referenced by BaseSimpleCPU::postExecute(), and BaseSimpleCPU::regStats().
Counter SimpleExecContext::numOp |
Definition at line 80 of file exec_context.hh.
Referenced by BaseSimpleCPU::countInst().
Stats::Scalar SimpleExecContext::numOps |
Definition at line 81 of file exec_context.hh.
Referenced by BaseSimpleCPU::countInst(), and BaseSimpleCPU::regStats().
Stats::Scalar SimpleExecContext::numPredictedBranches |
Number of branches predicted as taken.
Definition at line 157 of file exec_context.hh.
Referenced by BaseSimpleCPU::preExecute(), and BaseSimpleCPU::regStats().
Stats::Scalar SimpleExecContext::numStoreInsts |
Definition at line 130 of file exec_context.hh.
Referenced by BaseSimpleCPU::postExecute(), and BaseSimpleCPU::regStats().
Stats::Scalar SimpleExecContext::numVecAluAccesses |
Definition at line 90 of file exec_context.hh.
Referenced by BaseSimpleCPU::postExecute(), and BaseSimpleCPU::regStats().
Stats::Scalar SimpleExecContext::numVecInsts |
Definition at line 105 of file exec_context.hh.
Referenced by BaseSimpleCPU::postExecute(), and BaseSimpleCPU::regStats().
|
mutable |
Definition at line 120 of file exec_context.hh.
Stats::Scalar SimpleExecContext::numVecPredRegWrites |
Definition at line 121 of file exec_context.hh.
|
mutable |
Definition at line 116 of file exec_context.hh.
Referenced by BaseSimpleCPU::regStats().
Stats::Scalar SimpleExecContext::numVecRegWrites |
Definition at line 117 of file exec_context.hh.
Referenced by BaseSimpleCPU::regStats().
TheISA::PCState SimpleExecContext::predPC |
Definition at line 73 of file exec_context.hh.
Referenced by BaseSimpleCPU::advancePC(), and BaseSimpleCPU::preExecute().
Stats::Vector SimpleExecContext::statExecutedInstType |
Definition at line 163 of file exec_context.hh.
Referenced by BaseSimpleCPU::postExecute(), and BaseSimpleCPU::regStats().
bool SimpleExecContext::stayAtPC |
Definition at line 70 of file exec_context.hh.
Referenced by TimingSimpleCPU::advanceInst(), AtomicSimpleCPU::isCpuDrained(), TimingSimpleCPU::isCpuDrained(), BaseSimpleCPU::preExecute(), TimingSimpleCPU::switchOut(), and AtomicSimpleCPU::tick().
SimpleThread* SimpleExecContext::thread |
Definition at line 64 of file exec_context.hh.
Referenced by BaseSimpleCPU::advancePC(), AtomicSimpleCPU::amoMem(), BaseSimpleCPU::checkForInterrupts(), BaseSimpleCPU::countInst(), TimingSimpleCPU::fetch(), TimingSimpleCPU::handleReadPacket(), TimingSimpleCPU::handleWritePacket(), TimingSimpleCPU::initiateMemAMO(), TimingSimpleCPU::initiateMemRead(), AtomicSimpleCPU::isCpuDrained(), TimingSimpleCPU::isCpuDrained(), BaseSimpleCPU::postExecute(), BaseSimpleCPU::preExecute(), AtomicSimpleCPU::readMem(), TimingSimpleCPU::sendData(), BaseSimpleCPU::setupFetchRequest(), TimingSimpleCPU::switchOut(), AtomicSimpleCPU::tick(), AtomicSimpleCPU::writeMem(), and TimingSimpleCPU::writeMem().