diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/arch/x86/floatregfile.hh | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/arch/x86/floatregfile.hh b/src/arch/x86/floatregfile.hh index 67ce7c18e..18371280d 100644 --- a/src/arch/x86/floatregfile.hh +++ b/src/arch/x86/floatregfile.hh @@ -105,8 +105,17 @@ namespace X86ISA class FloatRegFile { + public: + static const int SingleWidth = 32; + static const int DoubleWidth = 64; + static const int QuadWidth = 128; + protected: - double regs[NumFloatRegs]; + union + { + uint64_t q[NumFloatRegs]; + double d[NumFloatRegs]; + }; public: void clear(); |