37using namespace PowerISA;
42 switch (
reg.classValue()) {
50 switch (
reg.index()) {
60 panic(
"printReg: Unrecognized register class.");
void printReg(std::ostream &os, RegId reg) const
Print a register name for disassembly given the unique dependence tag number (FP or int).
std::string generateDisassembly(Addr pc, const loader::SymbolTable *symtab) const override
Internal function to generate disassembly string.
Register ID: describe an architectural register with its class and index.
const char * mnemonic
Base mnemonic (e.g., "add").
#define panic(...)
This implements a cprintf based panic() function.
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.
@ FloatRegClass
Floating-point register.
@ IntRegClass
Integer register.
@ MiscRegClass
Control (misc) register.
void ccprintf(cp::Print &print)