Fix up a comment: besides the >80col lines, the operation for this
authorBob Wilson <bob.wilson@apple.com>
Wed, 1 Jul 2009 21:22:45 +0000 (21:22 +0000)
committerBob Wilson <bob.wilson@apple.com>
Wed, 1 Jul 2009 21:22:45 +0000 (21:22 +0000)
addressing mode is encoded in the second operand, not the third.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74641 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMAddressingModes.h

index bf79152093aeb3d0cfdf260e4fd055d36bf0649e..7dc2dca58ce957d1620ce36025de0d6f8cb81c68 100644 (file)
@@ -459,13 +459,13 @@ namespace ARM_AM {
   //
   // addrmode5 := reg +/- imm8*4
   //
-  // The first operand is always a Reg.  The third field encodes the operation
-  // in bit 8, the immediate in bits 0-7.
+  // The first operand is always a Reg.  The second operand encodes the
+  // operation in bit 8 and the immediate in bits 0-7.
   //
-  // This can also be used for FP load/store multiple ops. The third field encodes
-  // writeback mode in bit 8, the number of registers (or 2 times the number of
-  // registers for DPR ops) in bits 0-7. In addition, bit 9-11 encodes one of the
-  // following two sub-modes:
+  // This is also used for FP load/store multiple ops. The second operand
+  // encodes the writeback mode in bit 8 and the number of registers (or 2
+  // times the number of registers for DPR ops) in bits 0-7. In addition,
+  // bits 9-11 encode one of the following two sub-modes:
   //
   //    IA - Increment after
   //    DB - Decrement before