From: Gabe Black Date: Mon, 25 Jan 2021 07:13:07 +0000 (-0800) Subject: arch-mips: Delete unused register related constants. X-Git-Tag: develop-gem5-snapshot~202 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5608d44e39678cf86f9c91368d2bb3fe46da2592;p=gem5.git arch-mips: Delete unused register related constants. Change-Id: If14aa686eda59ff9c148371b4b7f6075b2abd1d8 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/39679 Maintainer: Bobby R. Bruce Reviewed-by: Bobby R. Bruce Tested-by: kokoro --- diff --git a/src/arch/mips/registers.hh b/src/arch/mips/registers.hh index aaebf3581..0a7800879 100644 --- a/src/arch/mips/registers.hh +++ b/src/arch/mips/registers.hh @@ -106,17 +106,11 @@ enum MiscIntRegNums { // semantically meaningful register indices const int ZeroReg = 0; -const int AssemblerReg = 1; const int SyscallSuccessReg = 7; const int FirstArgumentReg = 4; const int ReturnValueReg = 2; -const int KernelReg0 = 26; -const int KernelReg1 = 27; -const int GlobalPointerReg = 28; const int StackPointerReg = 29; -const int FramePointerReg = 30; -const int ReturnAddressReg = 31; const int SyscallPseudoReturnReg = 3; @@ -279,8 +273,6 @@ enum MiscRegIndex{ const int NumMiscRegs = MISCREG_NUMREGS; -const int TotalNumRegs = NumIntRegs + NumFloatRegs + NumMiscRegs; - // Not applicable to MIPS using VecElem = ::DummyVecElem; using VecReg = ::DummyVecReg;