summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2009-07-01 21:22:45 +0000
committerBob Wilson <bob.wilson@apple.com>2009-07-01 21:22:45 +0000
commitbbbf805049b18bf06b771204d15432c89382e01e (patch)
tree24617441f0d1337e4ab175bc5a90e7a7a55d71fe /llvm/lib
parent1cf085d558fd73f2599fb68e600365dd20502e2b (diff)
downloadbcm5719-llvm-bbbf805049b18bf06b771204d15432c89382e01e.tar.gz
bcm5719-llvm-bbbf805049b18bf06b771204d15432c89382e01e.zip
Fix up a comment: besides the >80col lines, the operation for this
addressing mode is encoded in the second operand, not the third. llvm-svn: 74641
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/ARM/ARMAddressingModes.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/lib/Target/ARM/ARMAddressingModes.h b/llvm/lib/Target/ARM/ARMAddressingModes.h
index bf79152093a..7dc2dca58ce 100644
--- a/llvm/lib/Target/ARM/ARMAddressingModes.h
+++ b/llvm/lib/Target/ARM/ARMAddressingModes.h
@@ -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
OpenPOWER on IntegriCloud