From: Gabe Black Date: Thu, 28 Dec 2006 19:23:30 +0000 (-0500) Subject: Fixed NumMiscArchRegs. This is still a magic number, and it should be set automatical... X-Git-Tag: m5_2.0_beta3~261 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9ca6efdb60866b1feada0295b02fdc7ff49eacf2;p=gem5.git 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 --- diff --git a/src/arch/alpha/isa_traits.hh b/src/arch/alpha/isa_traits.hh index 35d9ce843..a267ac034 100644 --- a/src/arch/alpha/isa_traits.hh +++ b/src/arch/alpha/isa_traits.hh @@ -132,7 +132,7 @@ namespace AlphaISA const int NumPALShadowRegs = 8; const int NumFloatArchRegs = 32; // @todo: Figure out what this number really should be. - const int NumMiscArchRegs = 32; + const int NumMiscArchRegs = 77; const int NumIntRegs = NumIntArchRegs + NumPALShadowRegs; const int NumFloatRegs = NumFloatArchRegs;