X86: Make the fp accessors not panic.
--HG-- extra : convert_revision : c6d08863049a3f8755c53e1f49ce19ad6a2dedc7
This commit is contained in:
parent
61b1c53a2a
commit
6204d00940
1 changed files with 6 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue