46 switch (reg.
index()) {
51 default:
ccprintf(os,
"unknown_reg");
55 panic(
"printReg: POWER does not implement CCRegClass\n");
#define panic(...)
This implements a cprintf based panic() function.
void ccprintf(cp::Print &print)
bool isMiscReg() const
true if it is a condition-code physical register.
const char * mnemonic
Base mnemonic (e.g., "add").
std::string generateDisassembly(Addr pc, const SymbolTable *symtab) const override
Internal function to generate disassembly string.
bool isCCReg() const
true if it is a condition-code physical register.
void printReg(std::ostream &os, RegId reg) const
Print a register name for disassembly given the unique dependence tag number (FP or int)...
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
const RegIndex & index() const
Index accessors.
Register ID: describe an architectural register with its class and index.