From 5608d44e39678cf86f9c91368d2bb3fe46da2592 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sun, 24 Jan 2021 23:13:07 -0800 Subject: [PATCH] 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 --- src/arch/mips/registers.hh | 8 -------- 1 file changed, 8 deletions(-) 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; -- 2.30.2