diff options
author | Steve Reinhardt <steve.reinhardt@amd.com> | 2013-10-15 14:22:43 -0400 |
---|---|---|
committer | Steve Reinhardt <steve.reinhardt@amd.com> | 2013-10-15 14:22:43 -0400 |
commit | 219c423f1fb0f9a559bfa87f9812426d5e2c3e29 (patch) | |
tree | 7980ae867c4642e710af7cd5d0ad7fe51c0b6687 /src/cpu/reg_class.hh | |
parent | a830e63de71e5929b8ff8e334bc872faa9193a8b (diff) | |
download | gem5-219c423f1fb0f9a559bfa87f9812426d5e2c3e29.tar.xz |
cpu: rename *_DepTag constants to *_Reg_Base
Make these names more meaningful.
Specifically, made these substitutions:
s/FP_Base_DepTag/FP_Reg_Base/g;
s/Ctrl_Base_DepTag/Misc_Reg_Base/g;
s/Max_DepTag/Max_Reg_Index/g;
Diffstat (limited to 'src/cpu/reg_class.hh')
-rw-r--r-- | src/cpu/reg_class.hh | 10 |
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) |