36 using namespace PowerISA;
56 default:
ccprintf(os,
"unknown_reg");
60 panic(
"printReg: POWER does not implement CCRegClass\n");
void ccprintf(cp::Print &print)
const char * mnemonic
Base mnemonic (e.g., "add").
TheISA::RegIndex RegIndex
Logical register index type.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
std::string generateDisassembly(Addr pc, const SymbolTable *symtab) const
Internal function to generate disassembly string.
RegClass regIdxToClass(TheISA::RegIndex reg_idx, TheISA::RegIndex *rel_reg_idx=NULL)
Map a 'unified' architectural register index to its register class.
void printReg(std::ostream &os, int reg) const
Print a register name for disassembly given the unique dependence tag number (FP or int)...