Move the high byte register indices to the right place.
authorGabe Black <gblack@eecs.umich.edu>
Thu, 14 Jun 2007 20:52:21 +0000 (20:52 +0000)
committerGabe Black <gblack@eecs.umich.edu>
Thu, 14 Jun 2007 20:52:21 +0000 (20:52 +0000)
--HG--
extra : convert_revision : 3f04036d598b6572bab6ec06d162b97564a6529c

src/arch/x86/intregs.hh

index 562539de9eaebe7c3eeb00800dca393511c8185b..fc2098716915b7596ae9ac58d900057280988ccf 100644 (file)
@@ -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,