diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2006-03-28 19:36:40 -0500 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2006-03-28 19:36:40 -0500 |
commit | 55293c9e98d5ae918665268b1c786561bd393c25 (patch) | |
tree | fbfeb01e854473835479d917ba73f4e94592d5b2 /arch/sparc/regfile.hh | |
parent | c1046488e073b2535c76c473aec34fe499c149e3 (diff) | |
parent | 818f3ae22f324601742801b166350691cddf3a2a (diff) | |
download | gem5-55293c9e98d5ae918665268b1c786561bd393c25.tar.xz |
Merge m5.eecs.umich.edu:/bk/newmem
into ewok.(none):/home/gblack/m5/newmem
--HG--
extra : convert_revision : 7effd744f9061d4aa8e9c3fa769115dfa73cbb79
Diffstat (limited to 'arch/sparc/regfile.hh')
-rw-r--r-- | arch/sparc/regfile.hh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/sparc/regfile.hh b/arch/sparc/regfile.hh index 944fdfe80..09b8e49d7 100644 --- a/arch/sparc/regfile.hh +++ b/arch/sparc/regfile.hh @@ -55,15 +55,15 @@ namespace SparcISA class FloatRegFile { protected: - //Since the floating point registers overlap each other, - //A generic storage space is used. The float to be returned is - //pulled from the appropriate section of this region. - char regSpace[32 * 64]; - static const int SingleWidth = 32; static const int DoubleWidth = 64; static const int QuadWidth = 128; + //Since the floating point registers overlap each other, + //A generic storage space is used. The float to be returned is + //pulled from the appropriate section of this region. + char regSpace[SingleWidth / 8 * NumFloatRegs]; + public: FloatReg readReg(int floatReg, int width) |