arch-mips: add regWidth constant to float regfile
authorKorey Sewell <ksewell@umich.edu>
Wed, 13 May 2009 05:26:38 +0000 (01:26 -0400)
committerKorey Sewell <ksewell@umich.edu>
Wed, 13 May 2009 05:26:38 +0000 (01:26 -0400)
src/arch/mips/regfile/float_regfile.hh

index 0c0ecc7eb5545d0ad5b6b6f604a11603ccf39933..7a95d05686a7a5c7cefed3c1b932c4f7abde5cca 100644 (file)
@@ -85,6 +85,7 @@ namespace MipsISA
         FloatReg32 regs[NumFloatRegs];
 
       public:
+        static const int regWidth = SingleWidth;
 
         void clear();
         double readReg(int floatReg, int width, unsigned tid = 0);