From: Gabe Black Date: Mon, 25 Jan 2021 07:06:18 +0000 (-0800) Subject: arch-x86: Delete some unused register related constants. X-Git-Tag: develop-gem5-snapshot~201 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fac8d53a24c33190fa00c0ac5d8d3b2f00f70bce;p=gem5.git arch-x86: Delete some unused register related constants. Change-Id: Id5305a863675061b4afb27c71b329180605381b5 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/39677 Reviewed-by: Bobby R. Bruce Maintainer: Bobby R. Bruce Tested-by: kokoro --- diff --git a/src/arch/x86/registers.hh b/src/arch/x86/registers.hh index c041a07f9..fdd6d6b06 100644 --- a/src/arch/x86/registers.hh +++ b/src/arch/x86/registers.hh @@ -83,14 +83,6 @@ const int NumVecPredRegs = 1; // Not applicable to x86 //There is no such register in X86 const int ZeroReg = NUM_INTREGS; const int StackPointerReg = INTREG_RSP; -//X86 doesn't seem to have a link register -const int ReturnAddressReg = 0; -const int ReturnValueReg = INTREG_RAX; -const int FramePointerReg = INTREG_RBP; - -// Some OS syscalls use a second register (rdx) to return a second -// value -const int SyscallPseudoReturnReg = INTREG_RDX; // Not applicable to x86 using VecElem = ::DummyVecElem;