ETISS 0.8.0
Extendable Translating Instruction Set Simulator (version 0.8.0)
|
maps to Instruction More...
#include <Instruction.h>
Public Member Functions | |
etiss_del_como (InstructionDefinition) template< typename T > InstructionDefinition(InstructionGroup &ig | |
const std::string T T std::function< bool(BitArray &, etiss::CodeSet &, InstructionContext &)> uint32_t std::function< std::string(BitArray &, Instruction &)> | name_ (name) |
const std::string T T std::function< bool(BitArray &, etiss::CodeSet &, InstructionContext &)> uint32_t std::function< std::string(BitArray &, Instruction &)> | opc_ (ig.width_, code, mask) |
const std::string T T std::function< bool(BitArray &, etiss::CodeSet &, InstructionContext &)> uint32_t std::function< std::string(BitArray &, Instruction &)> | callback_ (callback) |
const std::string T T std::function< bool(BitArray &, etiss::CodeSet &, InstructionContext &)> uint32_t std::function< std::string(BitArray &, Instruction &)> | ASMprinter_ (ASMprinter) |
const std::string T T std::function< bool(BitArray &, etiss::CodeSet &, InstructionContext &)> uint32_t std::function< std::string(BitArray &, Instruction &)> | builtinGroups_ (builtinGroups) |
~InstructionDefinition () | |
void | addTo (Instruction &set, bool &ok) |
std::string | toString () const |
Public Member Functions inherited from etiss::ToString | |
ToString () | |
virtual | ~ToString () |
Public Attributes | |
InstructionGroup & | group_ |
const std::string | name_ |
const OPCode | opc_ |
const std::function< bool(BitArray &, etiss::CodeSet &, InstructionContext &)> | callback_ |
const std::function< std::string(BitArray &, Instruction &)> | ASMprinter_ |
const uint32_t | builtinGroups_ |
const std::string & | name |
const std::string T | code |
const std::string T T | mask |
const std::string T T std::function< bool(BitArray &, etiss::CodeSet &, InstructionContext &)> | callback |
const std::string T T std::function< bool(BitArray &, etiss::CodeSet &, InstructionContext &)> uint32_t | builtinGroups |
const std::string T T std::function< bool(BitArray &, etiss::CodeSet &, InstructionContext &)> uint32_t std::function< std::string(BitArray &, Instruction &)> | ASMprinter: group_(ig) |
maps to Instruction
Definition at line 707 of file Instruction.h.
|
inline |
Definition at line 742 of file Instruction.h.
void etiss::instr::InstructionDefinition::addTo | ( | Instruction & | set, |
bool & | ok | ||
) |
Definition at line 739 of file Instruction.cpp.
References etiss::instr::Instruction::addCallback(), ASMprinter_, builtinGroups_, callback_, etiss::ERROR, etiss::log(), etiss::instr::Instruction::opc_, opc_, etiss::instr::Instruction::setASMPrinter(), and etiss::VERBOSE.
const std::string T T std::function<bool(BitArray &, etiss::CodeSet &, InstructionContext &)> uint32_t std::function<std::string(BitArray &, Instruction &)> etiss::instr::InstructionDefinition::ASMprinter_ | ( | ASMprinter | ) |
|
inline |
Definition at line 729 of file Instruction.h.
References callback, etiss::instr::InstructionGroup::defs_, etiss_log, etiss::FATALERROR, group_, and name.
const std::string T T std::function<bool(BitArray &, etiss::CodeSet &, InstructionContext &)> uint32_t std::function<std::string(BitArray &, Instruction &)> etiss::instr::InstructionDefinition::callback_ | ( | callback | ) |
etiss::instr::InstructionDefinition::etiss_del_como | ( | InstructionDefinition | ) | & |
const std::string T T std::function<bool(BitArray &, etiss::CodeSet &, InstructionContext &)> uint32_t std::function<std::string(BitArray &, Instruction &)> etiss::instr::InstructionDefinition::name_ | ( | name | ) |
const std::string T T std::function<bool(BitArray &, etiss::CodeSet &, InstructionContext &)> uint32_t std::function<std::string(BitArray &, Instruction &)> etiss::instr::InstructionDefinition::opc_ | ( | ig. | width_, |
code | , | ||
mask | |||
) |
|
inline |
Definition at line 747 of file Instruction.h.
References group_, etiss::instr::InstructionGroup::name_, and name_.
const std::string T T std::function<bool(BitArray &, etiss::CodeSet &, InstructionContext &)> uint32_t std::function<std::string(BitArray &, Instruction &)> etiss::instr::InstructionDefinition::ASMprinter |
Definition at line 723 of file Instruction.h.
const std::function<std::string(BitArray &, Instruction &)> etiss::instr::InstructionDefinition::ASMprinter_ |
Definition at line 714 of file Instruction.h.
Referenced by addTo().
const std::string T T std::function<bool(BitArray &, etiss::CodeSet &, InstructionContext &)> uint32_t etiss::instr::InstructionDefinition::builtinGroups |
Definition at line 723 of file Instruction.h.
const uint32_t etiss::instr::InstructionDefinition::builtinGroups_ |
Definition at line 715 of file Instruction.h.
Referenced by addTo().
const std::string T T std::function<bool(BitArray &, etiss::CodeSet &, InstructionContext &)> etiss::instr::InstructionDefinition::callback |
Definition at line 722 of file Instruction.h.
Referenced by builtinGroups_().
const std::function<bool(BitArray &, etiss::CodeSet &, InstructionContext &)> etiss::instr::InstructionDefinition::callback_ |
Definition at line 713 of file Instruction.h.
Referenced by addTo().
const std::string T etiss::instr::InstructionDefinition::code |
Definition at line 721 of file Instruction.h.
InstructionGroup& etiss::instr::InstructionDefinition::group_ |
Definition at line 710 of file Instruction.h.
Referenced by builtinGroups_(), and toString().
const std::string T T etiss::instr::InstructionDefinition::mask |
Definition at line 721 of file Instruction.h.
const std::string& etiss::instr::InstructionDefinition::name |
Definition at line 721 of file Instruction.h.
Referenced by builtinGroups_(), and get_metrics.MemRange::stats().
const std::string etiss::instr::InstructionDefinition::name_ |
Definition at line 711 of file Instruction.h.
Referenced by toString().
const OPCode etiss::instr::InstructionDefinition::opc_ |
Definition at line 712 of file Instruction.h.
Referenced by addTo().