diff options
Diffstat (limited to 'src/arch/alpha')
-rw-r--r-- | src/arch/alpha/ev5.cc | 2 | ||||
-rw-r--r-- | src/arch/alpha/registers.hh | 2 | ||||
-rw-r--r-- | src/arch/alpha/remote_gdb.cc | 4 | ||||
-rw-r--r-- | src/arch/alpha/utility.cc | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/src/arch/alpha/ev5.cc b/src/arch/alpha/ev5.cc index 6a5d6afdc..cc0c583f0 100644 --- a/src/arch/alpha/ev5.cc +++ b/src/arch/alpha/ev5.cc @@ -88,7 +88,7 @@ zeroRegisters(CPU *cpu) // (no longer very clean due to the change in setIntReg() in the // cpu model. Consider changing later.) cpu->thread->setIntReg(ZeroReg, 0); - cpu->thread->setFloatRegBits(ZeroReg, 0); + cpu->thread->setFloatReg(ZeroReg, 0); } //////////////////////////////////////////////////////////////////////// diff --git a/src/arch/alpha/registers.hh b/src/arch/alpha/registers.hh index 218390597..07c0beeb3 100644 --- a/src/arch/alpha/registers.hh +++ b/src/arch/alpha/registers.hh @@ -49,7 +49,7 @@ const int MaxMiscDestRegs = AlphaISAInst::MaxMiscDestRegs + 1; typedef RegVal IntReg; // floating point register file entry type -typedef RegVal FloatRegBits; +typedef RegVal FloatReg; // control register file contents typedef RegVal MiscReg; diff --git a/src/arch/alpha/remote_gdb.cc b/src/arch/alpha/remote_gdb.cc index f3eafc0fe..9e87f1783 100644 --- a/src/arch/alpha/remote_gdb.cc +++ b/src/arch/alpha/remote_gdb.cc @@ -220,7 +220,7 @@ RemoteGDB::AlphaGdbRegCache::getRegs(ThreadContext *context) for (int i = 0; i < 32; ++i) #ifdef KGDB_FP_REGS - r.fpr[i] = context->readFloatRegBits(i); + r.fpr[i] = context->readFloatReg(i); #else r.fpr[i] = 0; #endif @@ -243,7 +243,7 @@ RemoteGDB::AlphaGdbRegCache::setRegs(ThreadContext *context) const #ifdef KGDB_FP_REGS for (int i = 0; i < NumFloatArchRegs; ++i) { - context->setFloatRegBits(i, gdbregs.regs64[i + KGDB_REG_F0]); + context->setFloatReg(i, gdbregs.regs64[i + KGDB_REG_F0]); } #endif context->pcState(r.pc); diff --git a/src/arch/alpha/utility.cc b/src/arch/alpha/utility.cc index de4b4e34d..c03e7b0da 100644 --- a/src/arch/alpha/utility.cc +++ b/src/arch/alpha/utility.cc @@ -48,7 +48,7 @@ getArgument(ThreadContext *tc, int &number, uint16_t size, bool fp) const int NumArgumentRegs = 6; if (number < NumArgumentRegs) { if (fp) - return tc->readFloatRegBits(16 + number); + return tc->readFloatReg(16 + number); else return tc->readIntReg(16 + number); } else { @@ -70,7 +70,7 @@ copyRegs(ThreadContext *src, ThreadContext *dest) // Then loop through the floating point registers. for (int i = 0; i < NumFloatRegs; ++i) - dest->setFloatRegBits(i, src->readFloatRegBits(i)); + dest->setFloatReg(i, src->readFloatReg(i)); // Would need to add condition-code regs if implemented assert(NumCCRegs == 0); |