From 18b21c1ecaf7858c592c56cf4c12ec8781f821ba Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sat, 7 Nov 2009 22:34:33 -0800 Subject: [PATCH] ARM: Get rid of some unneeded register indexes. --- src/arch/arm/registers.hh | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/src/arch/arm/registers.hh b/src/arch/arm/registers.hh index 7f9b6b828..07af32c1e 100644 --- a/src/arch/arm/registers.hh +++ b/src/arch/arm/registers.hh @@ -77,7 +77,6 @@ const int ReturnAddressReg = 14; const int PCReg = 15; const int ZeroReg = NumIntArchRegs; -const int AddrReg = ZeroReg + 1; // Used to generate address for uops const int SyscallNumReg = ReturnValueReg; const int SyscallPseudoReturnReg = ReturnValueReg; @@ -116,35 +115,6 @@ enum FCSRFields { Cause_Field = 11 }; -enum MiscIntRegNums { - zero_reg = NumIntArchRegs, - addr_reg, - - rhi, - rlo, - - r8_fiq, /* FIQ mode register bank */ - r9_fiq, - r10_fiq, - r11_fiq, - r12_fiq, - - r13_fiq, /* FIQ mode SP and LR */ - r14_fiq, - - r13_irq, /* IRQ mode SP and LR */ - r14_irq, - - r13_svc, /* SVC mode SP and LR */ - r14_svc, - - r13_undef, /* UNDEF mode SP and LR */ - r14_undef, - - r13_abt, /* ABT mode SP and LR */ - r14_abt -}; - } // namespace ArmISA #endif -- 2.30.2