From: Gabe Black Date: Mon, 25 Jan 2021 07:16:43 +0000 (-0800) Subject: arch-power: Delete unused register related constants. X-Git-Tag: develop-gem5-snapshot~175 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7bb456f02;p=gem5.git arch-power: Delete unused register related constants. Change-Id: I7b2dc3a9ce29f67d304a22ab15268390fc461e4e Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/39680 Reviewed-by: Boris Shingarov Maintainer: Bobby R. Bruce Tested-by: kokoro --- diff --git a/src/arch/power/registers.hh b/src/arch/power/registers.hh index a6d28a80e..def55e308 100644 --- a/src/arch/power/registers.hh +++ b/src/arch/power/registers.hh @@ -66,11 +66,9 @@ const int NumIntArchRegs = 32; // and zero register, which doesn't actually exist but needs a number const int NumIntSpecialRegs = 9; const int NumFloatArchRegs = 32; -const int NumFloatSpecialRegs = 0; -const int NumInternalProcRegs = 0; const int NumIntRegs = NumIntArchRegs + NumIntSpecialRegs; -const int NumFloatRegs = NumFloatArchRegs + NumFloatSpecialRegs; +const int NumFloatRegs = NumFloatArchRegs; const int NumVecRegs = 1; // Not applicable to Power // (1 to prevent warnings) const int NumVecPredRegs = 1; // Not applicable to Power @@ -80,21 +78,11 @@ const int NumMiscRegs = NUM_MISCREGS; // Semantically meaningful register indices const int ReturnValueReg = 3; -const int ArgumentReg0 = 3; -const int ArgumentReg1 = 4; -const int ArgumentReg2 = 5; -const int ArgumentReg3 = 6; -const int ArgumentReg4 = 7; -const int FramePointerReg = 31; const int StackPointerReg = 1; // There isn't one in Power, but we need to define one somewhere const int ZeroReg = NumIntRegs - 1; -const int SyscallNumReg = 0; -const int SyscallPseudoReturnReg = 3; -const int SyscallSuccessReg = 3; - enum MiscIntRegNums { INTREG_CR = NumIntArchRegs, INTREG_XER,