Skip to content

Commit 8ff08eb

Browse files
authored
[NFC][X86] Move the comments to a right place (#73284)
1 parent 006f264 commit 8ff08eb

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

llvm/lib/Target/X86/MCTargetDesc/X86BaseInfo.h

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -549,11 +549,7 @@ enum : uint64_t {
549549
/// byte to specify a destination which in this case is memory and operand 3
550550
/// with VEX.VVVV, and also encodes a condition code.
551551
MRMDestMem4VOp3CC = 20,
552-
/// MRM[0-7][rm] - These forms are used to represent instructions that use
553-
/// a Mod/RM byte, and use the middle field to hold extended opcode
554-
/// information. In the intel manual these are represented as /0, /1, ...
555-
///
556-
// Instructions operate on a register Reg/Opcode operand not the r/m field.
552+
/// Instructions operate on a register Reg/Opcode operand not the r/m field.
557553
MRMr0 = 21,
558554
/// MRMSrcMem - But force to use the SIB field.
559555
MRMSrcMemFSIB = 22,
@@ -581,7 +577,8 @@ enum : uint64_t {
581577
/// MRMXm - This form is used for instructions that use the Mod/RM byte
582578
/// to specify a memory source, but doesn't use the middle field.
583579
MRMXm = 31,
584-
/// MRM0m-MRM7m - Instructions that operate on a memory r/m operand.
580+
/// MRM0m-MRM7m - Instructions that operate on a memory r/m operand and use
581+
/// reg field to hold extended opcode, which is represented as /0, /1, ...
585582
MRM0m = 32, // Format /0
586583
MRM1m = 33, // Format /1
587584
MRM2m = 34, // Format /2
@@ -612,7 +609,8 @@ enum : uint64_t {
612609
/// MRMXr - This form is used for instructions that use the Mod/RM byte
613610
/// to specify a register source, but doesn't use the middle field.
614611
MRMXr = 47,
615-
/// MRM0r-MRM7r - Instructions that operate on a register r/m operand.
612+
/// MRM0r-MRM7r - Instructions that operate on a register r/m operand and use
613+
/// reg field to hold extended opcode, which is represented as /0, /1, ...
616614
MRM0r = 48, // Format /0
617615
MRM1r = 49, // Format /1
618616
MRM2r = 50, // Format /2

0 commit comments

Comments
 (0)