From: Gabe Black Date: Mon, 5 Mar 2007 17:57:26 +0000 (+0000) Subject: Reorganize the floating point register file a little. X-Git-Tag: m5_2.0_beta3~142 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a473d50e4c8be5685f4188402c3790d6f4ceb951;p=gem5.git Reorganize the floating point register file a little. --HG-- extra : convert_revision : 643c147b77e931d49ac559681d4bbda737f6e1c7 --- 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();