diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2009-02-25 10:22:31 -0800 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2009-02-25 10:22:31 -0800 |
commit | 437b02884dedccc6f72f3e5d9c05d3a2dd6c6a2d (patch) | |
tree | 269dc7331610a9118bb884adf0c3fb39b40088a8 /src/arch/x86/intregfile.cc | |
parent | 3b01535ec1ea6f51738675b3caf36e3f100ad128 (diff) | |
download | gem5-437b02884dedccc6f72f3e5d9c05d3a2dd6c6a2d.tar.xz |
ISA: Get rid of the get*RegName functions.
Diffstat (limited to 'src/arch/x86/intregfile.cc')
-rw-r--r-- | src/arch/x86/intregfile.cc | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/arch/x86/intregfile.cc b/src/arch/x86/intregfile.cc index 43cfb8082..58a37cb9e 100644 --- a/src/arch/x86/intregfile.cc +++ b/src/arch/x86/intregfile.cc @@ -97,17 +97,6 @@ using namespace std; class Checkpoint; -string X86ISA::getIntRegName(RegIndex index) -{ - //These might appear to be out of order, but they match - //the encoding for the registers. Who knows why the indexes - //are out of order - static std::string intRegName[NumIntArchRegs] = - {"rax", "rcx", "rdx", "rbx", "rsp", "rbp", "rsi", "rdi", - "r8", "r9", "r10", "r11", "r12", "r13", "r14", "r15"}; - return intRegName[index]; -} - int IntRegFile::flattenIndex(int reg) { return reg; |