What's this for? Speaking of floating point register widths, since SPARC can't use that functionality any more since it breaks O3 (and apparently your model as well) it might make sense to get rid of that entirely and just make the accessors work like the integer ones again. That would have the nice effect of removing some dozen copies of those in various places.
Gabe Korey Sewell wrote: > changeset 2021e55a792c in /z/repo/m5 > details: http://repo.m5sim.org/m5?cmd=changeset;node=2021e55a792c > description: > arch-mips: add regWidth constant to float regfile > > diffstat: > > 1 file changed, 1 insertion(+) > src/arch/mips/regfile/float_regfile.hh | 1 + > > diffs (11 lines): > > diff -r 1c6a17f46228 -r 2021e55a792c src/arch/mips/regfile/float_regfile.hh > --- a/src/arch/mips/regfile/float_regfile.hh Tue May 12 20:55:21 2009 -0400 > +++ b/src/arch/mips/regfile/float_regfile.hh Wed May 13 01:26:38 2009 -0400 > @@ -85,6 +85,7 @@ > FloatReg32 regs[NumFloatRegs]; > > public: > + static const int regWidth = SingleWidth; > > void clear(); > double readReg(int floatReg, int width, unsigned tid = 0); > _______________________________________________ > m5-dev mailing list > [email protected] > http://m5sim.org/mailman/listinfo/m5-dev > _______________________________________________ m5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/m5-dev
