53 unsigned _numPhysicalFloatRegs,
54 unsigned _numPhysicalVecRegs,
55 unsigned _numPhysicalVecPredRegs,
56 unsigned _numPhysicalCCRegs,
58 : intRegFile(reg_classes.
at(
IntRegClass), _numPhysicalIntRegs),
60 vectorRegFile(reg_classes.
at(
VecRegClass), _numPhysicalVecRegs),
61 vectorElemRegFile(reg_classes.
at(
VecElemClass), _numPhysicalVecRegs * (
65 ccRegFile(reg_classes.
at(
CCRegClass), _numPhysicalCCRegs),
66 numPhysicalIntRegs(_numPhysicalIntRegs),
67 numPhysicalFloatRegs(_numPhysicalFloatRegs),
68 numPhysicalVecRegs(_numPhysicalVecRegs),
69 numPhysicalVecElemRegs(_numPhysicalVecRegs * (
72 numPhysicalVecPredRegs(_numPhysicalVecPredRegs),
73 numPhysicalCCRegs(_numPhysicalCCRegs),
74 totalNumRegs(_numPhysicalIntRegs
75 + _numPhysicalFloatRegs
77 + numPhysicalVecElemRegs
78 + _numPhysicalVecPredRegs
119 for (phys_reg = 0; phys_reg < reg_classes.at(
MiscRegClass).numRegs();
191 panic(
"Tried to get register IDs for the invalid class.");
194 return std::make_pair(PhysIds::iterator(),
195 PhysIds::iterator());
201 switch (
reg->classValue()) {
208 "Trying to get the register of a %s register",
reg->className());