gem5  v21.1.0.2
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();
}
}}

Definition at line 61 of file nop.cc.

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

◆ header

output header

◆ 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().

gem5::NoFault
constexpr decltype(nullptr) NoFault
Definition: types.hh:260
Nop
def format Nop(code, *opt_flags)
Definition: nop.cc:82
gem5::Fault
std::shared_ptr< FaultBase > Fault
Definition: types.hh:255
gem5::MipsISA::ExtMachInst
uint64_t ExtMachInst
Definition: types.hh:43
gem5::Addr
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
Definition: types.hh:147
gem5::MipsISA::pc
Bitfield< 4 > pc
Definition: pra_constants.hh:243

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