From 1a451cd2c5ec20c27c39a1cd3e3b5422c2b4f679 Mon Sep 17 00:00:00 2001 From: Korey Sewell Date: Thu, 9 Jun 2011 01:34:06 -0400 Subject: sparc: compilation fixes for inorder Add a few constants and functions that the InOrder model wants for SPARC. * * * sparc: add eaComp function InOrder separates the address generation from the actual access so give Sparc that functionality * * * sparc: add control flags for branches branch predictors and other cpu model functions need to know specific information about branches, so add the necessary flags here --- src/arch/sparc/registers.hh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/arch/sparc/registers.hh') diff --git a/src/arch/sparc/registers.hh b/src/arch/sparc/registers.hh index bb0f2bb89..f4305dc1a 100644 --- a/src/arch/sparc/registers.hh +++ b/src/arch/sparc/registers.hh @@ -77,6 +77,8 @@ const int SyscallPseudoReturnReg = 9; const int NumIntArchRegs = 32; const int NumIntRegs = (MaxGL + 1) * 8 + NWindows * 16 + NumMicroIntRegs; +const int TotalNumRegs = NumIntRegs + NumFloatRegs + NumMiscRegs; + } // namespace SparcISA #endif -- cgit v1.2.3