gem5  v19.0.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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 84 of file nop.cc.

References name(), and NopExecute.

Referenced by GPUStaticInst::isNop(), and KernelLaunchStaticInst::KernelLaunchStaticInst().

Variable Documentation

◆ decoder

output decoder
Initial value:
{{
std::string Nop::generateDisassembly(Addr pc,
const 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:142

Definition at line 64 of file nop.cc.

Referenced by Minor::Fetch2::evaluate(), SimpleThread::getDecoderPtr(), and BaseSimpleCPU::preExecute().

◆ 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 SymbolTable *symtab) const override;
};
}}
decltype(nullptr) constexpr NoFault
Definition: types.hh:245
def format Nop(code, *opt_flags)
Definition: nop.cc:84
The ExecContext is an abstract base class the provides the interface used by the ISA to manipulate th...
Definition: exec_context.hh:73
Bitfield< 4 > pc
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
Definition: types.hh:142
uint64_t ExtMachInst
Definition: types.hh:41
std::shared_ptr< FaultBase > Fault
Definition: types.hh:240

Definition at line 39 of file nop.cc.

Referenced by TCPIface::anyislistening(), BmpWriter::getCompleteHeader(), VirtIO9PBase::FSQueue::onNotifyDescriptor(), DistIface::packetOut(), VirtQueue::VirtRing< struct vring_used_elem >::read(), VirtQueue::VirtRing< struct vring_used_elem >::readHeader(), DistIface::recvThreadFunc(), DistIface::SyncNode::run(), DistIface::SyncSwitch::run(), VirtIO9PProxy::serverDataReady(), BmpWriter::write(), VirtQueue::VirtRing< struct vring_used_elem >::write(), and VirtQueue::VirtRing< struct vring_used_elem >::writeHeader().

◆ NopExec

def template NopExec
Initial value:
{{
}}

Definition at line 36 of file nop.cc.

◆ NopExecute

def template NopExecute
Initial value:
{{
Fault %(class_name)s::execute(ExecContext *xc,
Trace::InstRecord *traceData) const
{
return NoFault;
}
}}
decltype(nullptr) constexpr NoFault
Definition: types.hh:245
The ExecContext is an abstract base class the provides the interface used by the ISA to manipulate th...
Definition: exec_context.hh:73
std::shared_ptr< FaultBase > Fault
Definition: types.hh:240

Definition at line 74 of file nop.cc.

Referenced by Nop().


Generated on Fri Feb 28 2020 16:27:06 for gem5 by doxygen 1.8.13