223,229d222
< /// Make AlphaISA register dependence tags directly visible in
< /// this class and derived classes. Maybe these should really
< /// live here and not in the AlphaISA namespace.
< enum DependenceTags {
< FP_Reg_Base = AlphaISA::FP_Reg_Base
< };
<
239c232
< void printReg(std::ostream &os, int reg) const;
---
> void printReg(std::ostream &os, RegId reg) const;
254c247
< AlphaStaticInst::printReg(std::ostream &os, int reg) const
---
> AlphaStaticInst::printReg(std::ostream &os, RegId reg) const
256,257c249,250
< if (reg < FP_Reg_Base) {
< ccprintf(os, "r%d", reg);
---
> if (reg.regClass == IntRegClass) {
> ccprintf(os, "r%d", reg.regIdx);
260c253
< ccprintf(os, "f%d", reg - FP_Reg_Base);
---
> ccprintf(os, "f%d", reg.regIdx);