summaryrefslogtreecommitdiff
path: root/src/arch/mips/regfile
diff options
context:
space:
mode:
authorKorey Sewell <ksewell@umich.edu>2009-05-13 01:26:38 -0400
committerKorey Sewell <ksewell@umich.edu>2009-05-13 01:26:38 -0400
commitbc69e7947c15cf9335f0eb1e0fb4c1a9cd243120 (patch)
treeceb8e5175730f1e598bcbccc8cf901cef621c75b /src/arch/mips/regfile
parenta032d91016fedc7e5d4540441b1843bc3dae7e9d (diff)
downloadgem5-bc69e7947c15cf9335f0eb1e0fb4c1a9cd243120.tar.xz
arch-mips: add regWidth constant to float regfile
Diffstat (limited to 'src/arch/mips/regfile')
-rw-r--r--src/arch/mips/regfile/float_regfile.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arch/mips/regfile/float_regfile.hh b/src/arch/mips/regfile/float_regfile.hh
index 0c0ecc7eb..7a95d0568 100644
--- a/src/arch/mips/regfile/float_regfile.hh
+++ b/src/arch/mips/regfile/float_regfile.hh
@@ -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);