diff options
-rw-r--r-- | src/arch/x86/floatregfile.cc | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/arch/x86/floatregfile.cc b/src/arch/x86/floatregfile.cc index 515ed0958..93f2d4fe1 100644 --- a/src/arch/x86/floatregfile.cc +++ b/src/arch/x86/floatregfile.cc @@ -111,22 +111,24 @@ void FloatRegFile::clear() FloatReg FloatRegFile::readReg(int floatReg, int width) { - panic("Floating point not implemented for x86!\n"); + return d[floatReg]; } FloatRegBits FloatRegFile::readRegBits(int floatReg, int width) { - panic("Floating point not implemented for x86!\n"); + return q[floatReg]; } Fault FloatRegFile::setReg(int floatReg, const FloatReg &val, int width) { - panic("Floating point not implemented for x86!\n"); + d[floatReg] = val; + return NoFault; } Fault FloatRegFile::setRegBits(int floatReg, const FloatRegBits &val, int width) { - panic("Floating point not implemented for x86!\n"); + q[floatReg] = val; + return NoFault; } void FloatRegFile::serialize(std::ostream &os) |