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/ozone | |
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/ozone')
-rw-r--r-- | src/cpu/ozone/cpu_impl.hh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/cpu/ozone/cpu_impl.hh b/src/cpu/ozone/cpu_impl.hh index f64f287ea..fcab901cf 100644 --- a/src/cpu/ozone/cpu_impl.hh +++ b/src/cpu/ozone/cpu_impl.hh @@ -458,7 +458,7 @@ OzoneCPU<Impl>::tick() _status = Running; thread.renameTable[ZeroReg]->setIntResult(0); - thread.renameTable[ZeroReg+TheISA::FP_Base_DepTag]-> + thread.renameTable[ZeroReg+TheISA::FP_Reg_Base]-> setDoubleResult(0.0); comm.advance(); @@ -727,7 +727,7 @@ OzoneCPU<Impl>::OzoneTC::copyArchRegs(ThreadContext *tc) // Then loop through the floating point registers. for (int i = 0; i < TheISA::NumFloatRegs; ++i) { - int fp_idx = i + TheISA::FP_Base_DepTag; + int fp_idx = i + TheISA::FP_Reg_Base; thread->renameTable[fp_idx]->setIntResult(tc->readFloatRegBits(i)); } @@ -756,7 +756,7 @@ template <class Impl> double OzoneCPU<Impl>::OzoneTC::readFloatReg(int reg_idx) { - int idx = reg_idx + TheISA::FP_Base_DepTag; + int idx = reg_idx + TheISA::FP_Reg_Base; return thread->renameTable[idx]->readFloatResult(); } @@ -764,7 +764,7 @@ template <class Impl> uint64_t OzoneCPU<Impl>::OzoneTC::readFloatRegBits(int reg_idx) { - int idx = reg_idx + TheISA::FP_Base_DepTag; + int idx = reg_idx + TheISA::FP_Reg_Base; return thread->renameTable[idx]->readIntResult(); } @@ -783,7 +783,7 @@ template <class Impl> void OzoneCPU<Impl>::OzoneTC::setFloatReg(int reg_idx, FloatReg val) { - int idx = reg_idx + TheISA::FP_Base_DepTag; + int idx = reg_idx + TheISA::FP_Reg_Base; thread->renameTable[idx]->setDoubleResult(val); |