53 unsigned _numPhysicalFloatRegs,
54 unsigned _numPhysicalVecRegs,
55 unsigned _numPhysicalVecPredRegs,
56 unsigned _numPhysicalCCRegs,
58 : intRegFile(_numPhysicalIntRegs),
59 floatRegFile(_numPhysicalFloatRegs),
60 vectorRegFile(_numPhysicalVecRegs),
62 vecPredRegFile(_numPhysicalVecPredRegs),
63 ccRegFile(_numPhysicalCCRegs),
64 numPhysicalIntRegs(_numPhysicalIntRegs),
65 numPhysicalFloatRegs(_numPhysicalFloatRegs),
66 numPhysicalVecRegs(_numPhysicalVecRegs),
67 numPhysicalVecElemRegs(_numPhysicalVecRegs *
69 numPhysicalVecPredRegs(_numPhysicalVecPredRegs),
70 numPhysicalCCRegs(_numPhysicalCCRegs),
71 totalNumRegs(_numPhysicalIntRegs
72 + _numPhysicalFloatRegs
75 + _numPhysicalVecPredRegs
107 eIdx, flat_reg_idx++);
124 for (phys_reg = 0; phys_reg < regClasses.at(
MiscRegClass).size();
157 elemIdx].
index() == reg_idx);
159 elemIdx].elemIndex() == elemIdx);
201 return std::make_pair(PhysIds::iterator(),
202 PhysIds::iterator());
208 switch (
reg->classValue()) {
216 "Trying to get the register of a %s register",
reg->className());