51 constexpr const char *abcdFormats[9] =
52 {
"",
"%s",
"%sx",
"",
"e%sx",
"",
"",
"",
"r%sx"};
53 constexpr const char *piFormats[9] =
54 {
"",
"%s",
"%s",
"",
"e%s",
"",
"",
"",
"r%s"};
55 constexpr const char *longFormats[9] =
56 {
"",
"r%sb",
"r%sw",
"",
"r%sd",
"",
"",
"",
"r%s"};
57 constexpr const char *microFormats[9] =
58 {
"",
"t%db",
"t%dw",
"",
"t%dd",
"",
"",
"",
"t%d"};
61 constexpr unsigned size = 8;
65 std::ostringstream
ss;
67 const char * suffix =
"";
73 else if (reg_idx < 8 && size == 1)
127 reg_idx - int_reg::MicroBegin);
Register ID: describe an architectural register with its class and index.
std::string regName(const RegId &id) const override
Print the name of the register specified in id.
RegId flatten(const BaseISA &isa, const RegId &id) const override
Flatten register id id using information in the ISA object isa.
This is exposed globally, independent of the ISA.
constexpr RegClass flatIntRegClass
constexpr RegIndex IntFoldBit
Copyright (c) 2024 Arm Limited All rights reserved.
void ccprintf(cp::Print &print)