OSDN Git Service

[X86] Fix a comment reference to registers R8L..R15L to use R8B..R15B like everywhere...
authorCraig Topper <craig.topper@intel.com>
Thu, 28 May 2020 22:10:29 +0000 (15:10 -0700)
committerCraig Topper <craig.topper@intel.com>
Thu, 28 May 2020 22:13:02 +0000 (15:13 -0700)
A new Intel SDM was released today that also fixes this issue in
some documentation.

llvm/include/llvm/Support/X86DisassemblerDecoderCommon.h

index baf842b..8e53110 100644 (file)
@@ -374,7 +374,7 @@ enum ModRMDecisionType {
   ENUM_ENTRY(ENCODING_IW,     "2-byte")                                        \
   ENUM_ENTRY(ENCODING_ID,     "4-byte")                                        \
   ENUM_ENTRY(ENCODING_IO,     "8-byte")                                        \
-  ENUM_ENTRY(ENCODING_RB,     "(AL..DIL, R8L..R15L) Register code added to "   \
+  ENUM_ENTRY(ENCODING_RB,     "(AL..DIL, R8B..R15B) Register code added to "   \
                               "the opcode byte")                               \
   ENUM_ENTRY(ENCODING_RW,     "(AX..DI, R8W..R15W)")                           \
   ENUM_ENTRY(ENCODING_RD,     "(EAX..EDI, R8D..R15D)")                         \