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/arch/arm/insts/misc.cc | |
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/arch/arm/insts/misc.cc')
-rw-r--r-- | src/arch/arm/insts/misc.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/arm/insts/misc.cc b/src/arch/arm/insts/misc.cc index c40b6711f..6320bb6da 100644 --- a/src/arch/arm/insts/misc.cc +++ b/src/arch/arm/insts/misc.cc @@ -80,10 +80,10 @@ MsrBase::printMsrBase(std::ostream &os) const bool foundPsr = false; for (unsigned i = 0; i < numDestRegs(); i++) { int idx = destRegIdx(i); - if (idx < Ctrl_Base_DepTag) { + if (idx < Misc_Reg_Base) { continue; } - idx -= Ctrl_Base_DepTag; + idx -= Misc_Reg_Base; if (idx == MISCREG_CPSR) { os << "cpsr_"; foundPsr = true; |