mips-shadowsets: fix calcuations. \n Remove Shadowsets from Int & Arch. Reg Calculations

This commit is contained in:
Korey Sewell 2009-04-18 10:42:28 -04:00
parent 14808ecac9
commit cc9e834e93
2 changed files with 7 additions and 4 deletions

View file

@ -177,12 +177,10 @@ namespace MipsISA
const int NumFloatArchRegs = 32;
const int NumFloatSpecialRegs = 5;
const int NumShadowRegSets = 16; // Maximum number of shadow register sets
const int NumIntRegs = NumIntArchRegs*NumShadowRegSets + NumIntSpecialRegs; //HI & LO Regs
const int MaxShadowRegSets = 16; // Maximum number of shadow register sets
const int NumIntRegs = NumIntArchRegs + NumIntSpecialRegs; //HI & LO Regs
const int NumFloatRegs = NumFloatArchRegs + NumFloatSpecialRegs;//
const int TotalArchRegs = NumIntArchRegs * NumShadowRegSets;
// Static instruction parameters
const int MaxInstSrcRegs = 10;
const int MaxInstDestRegs = 8;

View file

@ -60,6 +60,11 @@ namespace MipsISA
DSPHi0 = HI
};
//@TODO: Implementing ShadowSets needs to
//edit this value such that:
//TotalArchRegs = NumIntArchRegs * ShadowSets
const int TotalArchRegs = NumIntArchRegs;
class IntRegFile
{
protected: