arch-x86: Delete some unused register related constants.
authorGabe Black <gabe.black@gmail.com>
Mon, 25 Jan 2021 07:06:18 +0000 (23:06 -0800)
committerGabe Black <gabe.black@gmail.com>
Wed, 27 Jan 2021 06:20:34 +0000 (06:20 +0000)
Change-Id: Id5305a863675061b4afb27c71b329180605381b5
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/39677
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu>
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/x86/registers.hh

index c041a07f97d57992ceb7b290309e7a5b2739a824..fdd6d6b06ae9f956378ad441842626e5434235e7 100644 (file)
@@ -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;