gem5  v22.1.0.0
Functions | Variables
nop.cc File Reference

Go to the source code of this file.

Functions

def format Nop (code, *opt_flags)
 

Variables

def template NopExec
 
output header
 
output decoder
 
def template NopExecute
 

Function Documentation

◆ Nop()

def format Nop ( code  ,
opt_flags 
)

Definition at line 82 of file nop.cc.

References name(), and NopExecute.

Referenced by gem5::GPUStaticInst::isNop(), and gem5::GPUCommandProcessor::submitAgentDispatchPkt().

Variable Documentation

◆ decoder

output decoder
Initial value:
{{
std::string
Nop::generateDisassembly(
Addr pc, const loader::SymbolTable *symtab) const
{
std::stringstream response;
printMnemonic(response, mnemonic);
return response.str();
}
}}
Bitfield< 4 > pc
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
Definition: types.hh:147

Definition at line 61 of file nop.cc.

Referenced by gem5::GenericISA::BasicDecodeCache< Decoder, EMI >::decode(), gem5::minor::Fetch2::evaluate(), gem5::AtomicSimpleCPU::fetchInstMem(), gem5::NonCachingSimpleCPU::fetchInstMem(), gem5::BaseSimpleCPU::preExecute(), gem5::TimingSimpleCPU::sendFetch(), gem5::BaseSimpleCPU::setupFetchRequest(), and gem5::Checker< DynInstPtr >::verify().

◆ header

output header
Initial value:
{{
class Nop : public SparcStaticInst
{
public:
Nop(const char *mnem, ExtMachInst _machInst, OpClass __opClass) :
SparcStaticInst(mnem, _machInst, __opClass)
{
flags[IsNop] = true;
}
execute(ExecContext *xc, trace::InstRecord *traceData) const
{
return NoFault;
}
std::string generateDisassembly(Addr pc,
const loader::SymbolTable *symtab) const override;
};
}}
uint8_t flags
Definition: helpers.cc:66
uint64_t ExtMachInst
Definition: types.hh:43
std::shared_ptr< FaultBase > Fault
Definition: types.hh:248
constexpr decltype(nullptr) NoFault
Definition: types.hh:253
def format Nop(code, *opt_flags)
Definition: nop.cc:82

Definition at line 36 of file nop.cc.

Referenced by gem5::SDMAEngine::atomic(), gem5::SDMAEngine::atomicData(), gem5::SDMAEngine::atomicDone(), gem5::PM4PacketProcessor::decodeHeader(), gem5::SDMAEngine::decodeHeader(), gem5::PM4PacketProcessor::decodeNext(), gem5::SDMAEngine::decodeNext(), gem5::VirtIO9PBase::dumpMsg(), gem5::BmpWriter::getCompleteHeader(), gem5::VirtIO9PBase::FSQueue::onNotifyDescriptor(), gem5::DistIface::packetOut(), gem5::SDMAEngine::pollRegMem(), gem5::SDMAEngine::pollRegMemRead(), gem5::X86ISA::ACPI::MADT::Record::prepareBuf(), gem5::scmi::AgentChannel::readMessage(), gem5::TCPIface::recvHeader(), gem5::TCPIface::recvPacket(), gem5::DistIface::recvThreadFunc(), gem5::VirtIO9PProxy::recvTMsg(), gem5::DistIface::SyncNode::run(), gem5::DistIface::SyncSwitch::run(), gem5::TCPIface::sendCmd(), gem5::TCPIface::sendPacket(), gem5::VirtIO9PBase::sendRMsg(), gem5::VirtIO9PProxy::serverDataReady(), gem5::SDMAEngine::srbmWrite(), gem5::BmpWriter::write(), gem5::X86ISA::ACPI::SysDescTable::writeBuf(), gem5::X86ISA::ACPI::MADT::MADT::writeBuf(), and gem5::X86ISA::FsWorkload::writeOutSMBiosTable().

◆ NopExec

def template NopExec
Initial value:
{{
}}

Definition at line 33 of file nop.cc.

◆ NopExecute

def template NopExecute
Initial value:
{{
Fault %(class_name)s::execute(ExecContext *xc,
trace::InstRecord *traceData) const
{
return NoFault;
}
}}

Definition at line 72 of file nop.cc.

Referenced by Nop().


Generated on Wed Dec 21 2022 10:22:52 for gem5 by doxygen 1.9.1