X86: Make the fp accessors not panic.

--HG--
extra : convert_revision : c6d08863049a3f8755c53e1f49ce19ad6a2dedc7
This commit is contained in:
Gabe Black 2007-08-29 20:34:00 -07:00
parent 61b1c53a2a
commit 6204d00940

View file

@ -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)