diff options
Diffstat (limited to 'src/arch/sparc')
-rw-r--r-- | src/arch/sparc/miscregs.hh | 1 | ||||
-rw-r--r-- | src/arch/sparc/registers.hh | 14 |
2 files changed, 7 insertions, 8 deletions
diff --git a/src/arch/sparc/miscregs.hh b/src/arch/sparc/miscregs.hh index 7008b6b36..b55fb7d44 100644 --- a/src/arch/sparc/miscregs.hh +++ b/src/arch/sparc/miscregs.hh @@ -155,7 +155,6 @@ struct STS }; -const int NumMiscArchRegs = MISCREG_NUMMISCREGS; const int NumMiscRegs = MISCREG_NUMMISCREGS; } diff --git a/src/arch/sparc/registers.hh b/src/arch/sparc/registers.hh index 8c61a070c..ffcfafcba 100644 --- a/src/arch/sparc/registers.hh +++ b/src/arch/sparc/registers.hh @@ -57,13 +57,6 @@ typedef union typedef uint16_t RegIndex; -// These enumerate all the registers for dependence tracking. -enum DependenceTags { - FP_Base_DepTag = 32*3+9, - Ctrl_Base_DepTag = FP_Base_DepTag + 64, - Max_DepTag = Ctrl_Base_DepTag + NumMiscRegs -}; - // semantically meaningful register indices const int ZeroReg = 0; // architecturally meaningful // the rest of these depend on the ABI @@ -80,6 +73,13 @@ const int NumIntRegs = (MaxGL + 1) * 8 + NWindows * 16 + NumMicroIntRegs; const int TotalNumRegs = NumIntRegs + NumFloatRegs + NumMiscRegs; +// These enumerate all the registers for dependence tracking. +enum DependenceTags { + FP_Base_DepTag = NumIntRegs, + Ctrl_Base_DepTag = FP_Base_DepTag + NumFloatRegs, + Max_DepTag = Ctrl_Base_DepTag + NumMiscRegs +}; + } // namespace SparcISA #endif |