summaryrefslogtreecommitdiff
path: root/src/cpu/reg_class.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/reg_class.hh')
-rw-r--r--src/cpu/reg_class.hh10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/cpu/reg_class.hh b/src/cpu/reg_class.hh
index e96c94cbb..c9d4b1c4f 100644
--- a/src/cpu/reg_class.hh
+++ b/src/cpu/reg_class.hh
@@ -65,19 +65,19 @@ inline
RegClass regIdxToClass(TheISA::RegIndex reg_idx,
TheISA::RegIndex *rel_reg_idx = NULL)
{
- assert(reg_idx < TheISA::Max_DepTag);
+ assert(reg_idx < TheISA::Max_Reg_Index);
RegClass cl;
int offset;
- if (reg_idx < TheISA::FP_Base_DepTag) {
+ if (reg_idx < TheISA::FP_Reg_Base) {
cl = IntRegClass;
offset = 0;
- } else if (reg_idx < TheISA::Ctrl_Base_DepTag) {
+ } else if (reg_idx < TheISA::Misc_Reg_Base) {
cl = FloatRegClass;
- offset = TheISA::FP_Base_DepTag;
+ offset = TheISA::FP_Reg_Base;
} else {
cl = MiscRegClass;
- offset = TheISA::Ctrl_Base_DepTag;
+ offset = TheISA::Misc_Reg_Base;
}
if (rel_reg_idx)