Fixed NumMiscArchRegs. This is still a magic number, and it should be set automatically by the miscreg enum. I need to figure out how to do that without including the whole miscregfile.hh and making header spaghetti.

--HG--
extra : convert_revision : eb640c9ef10a188b96f6a079f91abc8f67b9d38c
This commit is contained in:
Gabe Black 2006-12-28 14:23:30 -05:00
parent 876c59fe8d
commit 9ca6efdb60

View file

@ -132,7 +132,7 @@ namespace AlphaISA
const int NumPALShadowRegs = 8; const int NumPALShadowRegs = 8;
const int NumFloatArchRegs = 32; const int NumFloatArchRegs = 32;
// @todo: Figure out what this number really should be. // @todo: Figure out what this number really should be.
const int NumMiscArchRegs = 32; const int NumMiscArchRegs = 77;
const int NumIntRegs = NumIntArchRegs + NumPALShadowRegs; const int NumIntRegs = NumIntArchRegs + NumPALShadowRegs;
const int NumFloatRegs = NumFloatArchRegs; const int NumFloatRegs = NumFloatArchRegs;