42template class BranchNBits<19>;
43template class BranchNBits<22>;
44template class BranchNBits<30>;
49 std::stringstream response;
57 return response.str();
64 std::stringstream response;
75 return response.str();
82 std::stringstream response;
90 if (symtab && (it = symtab->
findNearest(target)) != symtab->
end()) {
91 ccprintf(response,
" <%s", it->name());
92 if (it->address() != target)
93 ccprintf(response,
"+%d>", target - it->address());
98 return response.str();
std::string generateDisassembly(Addr pc, const loader::SymbolTable *symtab) const override
Internal function to generate disassembly string.
std::string generateDisassembly(Addr pc, const loader::SymbolTable *symtab) const override
Internal function to generate disassembly string.
std::string generateDisassembly(Addr pc, const loader::SymbolTable *symtab) const override
Internal function to generate disassembly string.
void printRegArray(std::ostream &os, const RegId *indexArray, int num) const
static void printMnemonic(std::ostream &os, const char *mnemonic)
void printDestReg(std::ostream &os, int reg) const
uint8_t _numSrcRegs
See numSrcRegs().
uint8_t _numDestRegs
See numDestRegs().
const char * mnemonic
Base mnemonic (e.g., "add").
const RegId & srcRegIdx(int i) const
Return logical index (architectural reg num) of i'th source reg.
SymbolVector::const_iterator const_iterator
const_iterator end() const
const_iterator findNearest(Addr addr, Addr &next_addr) const
Find the nearest symbol equal to or less than the supplied address (e.g., the label for the enclosing...
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
void ccprintf(cp::Print &print)