summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-06-14 20:52:21 +0000
committerGabe Black <gblack@eecs.umich.edu>2007-06-14 20:52:21 +0000
commita8f65b18bc55fdb8ca888abfd0d991d12602fbf4 (patch)
treefae107785beefb83220f2dcfdbb79e2f17e2ac9a
parent7219b6edd9bee154e9066c479774f10998cb1af7 (diff)
downloadgem5-a8f65b18bc55fdb8ca888abfd0d991d12602fbf4.tar.xz
Move the high byte register indices to the right place.
--HG-- extra : convert_revision : 3f04036d598b6572bab6ec06d162b97564a6529c
-rw-r--r--src/arch/x86/intregs.hh8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/arch/x86/intregs.hh b/src/arch/x86/intregs.hh
index 562539de9..fc2098716 100644
--- a/src/arch/x86/intregs.hh
+++ b/src/arch/x86/intregs.hh
@@ -66,45 +66,45 @@ namespace X86ISA
INTREG_EAX = INTREG_RAX,
INTREG_AX = INTREG_RAX,
INTREG_AL = INTREG_RAX,
- INTREG_AH = INTREG_RAX,
INTREG_RCX,
INTREG_ECX = INTREG_RCX,
INTREG_CX = INTREG_RCX,
INTREG_CL = INTREG_RCX,
- INTREG_CH = INTREG_RCX,
INTREG_RDX,
INTREG_EDX = INTREG_RDX,
INTREG_DX = INTREG_RDX,
INTREG_DL = INTREG_RDX,
- INTREG_DH = INTREG_RDX,
INTREG_RBX,
INTREG_EBX = INTREG_RBX,
INTREG_BX = INTREG_RBX,
INTREG_BL = INTREG_RBX,
- INTREG_BH = INTREG_RBX,
INTREG_RSP,
INTREG_ESP = INTREG_RSP,
INTREG_SP = INTREG_RSP,
INTREG_SPL = INTREG_RSP,
+ INTREG_AH = INTREG_RSP,
INTREG_RBP,
INTREG_EBP = INTREG_RBP,
INTREG_BP = INTREG_RBP,
INTREG_BPL = INTREG_RBP,
+ INTREG_CH = INTREG_RBP,
INTREG_RSI,
INTREG_ESI = INTREG_RSI,
INTREG_SI = INTREG_RSI,
INTREG_SIL = INTREG_RSI,
+ INTREG_DH = INTREG_RSI,
INTREG_RDI,
INTREG_EDI = INTREG_RDI,
INTREG_DI = INTREG_RDI,
INTREG_DIL = INTREG_RDI,
+ INTREG_BH = INTREG_RDI,
INTREG_R8,
INTREG_R8D = INTREG_R8,