summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMAddressingModes.h
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2010-03-16 21:44:40 +0000
committerBob Wilson <bob.wilson@apple.com>2010-03-16 21:44:40 +0000
commitc953bca10b7b55d97ecce9345819b020c25afaff (patch)
treeccd2d2aaad97b78022e82654d1a557a8cbf97a84 /llvm/lib/Target/ARM/ARMAddressingModes.h
parent87c5e2f5d42951f8130f519c143c274ac5fd3fb4 (diff)
downloadbcm5719-llvm-c953bca10b7b55d97ecce9345819b020c25afaff.tar.gz
bcm5719-llvm-c953bca10b7b55d97ecce9345819b020c25afaff.zip
Remove redundant writeback flag from ARM address mode 6. Also remove the
optional register update argument, which is currently unused -- when we add support for that, it can just be a separate operand. llvm-svn: 98683
Diffstat (limited to 'llvm/lib/Target/ARM/ARMAddressingModes.h')
-rw-r--r--llvm/lib/Target/ARM/ARMAddressingModes.h20
1 files changed, 4 insertions, 16 deletions
diff --git a/llvm/lib/Target/ARM/ARMAddressingModes.h b/llvm/lib/Target/ARM/ARMAddressingModes.h
index abdd938cc18..4fe943a7c73 100644
--- a/llvm/lib/Target/ARM/ARMAddressingModes.h
+++ b/llvm/lib/Target/ARM/ARMAddressingModes.h
@@ -520,23 +520,11 @@ namespace ARM_AM {
//
// This is used for NEON load / store instructions.
//
- // addrmode6 := reg with optional writeback and alignment
+ // addrmode6 := reg with optional alignment
//
- // This is stored in four operands [regaddr, regupdate, opc, align]. The
- // first is the address register. The second register holds the value of
- // a post-access increment for writeback or reg0 if no writeback or if the
- // writeback increment is the size of the memory access. The third
- // operand encodes whether there is writeback to the address register. The
- // fourth operand is the value of the alignment specifier to use or zero if
- // no explicit alignment.
-
- static inline unsigned getAM6Opc(bool WB = false) {
- return (int)WB;
- }
-
- static inline bool getAM6WBFlag(unsigned Mode) {
- return Mode & 1;
- }
+ // This is stored in two operands [regaddr, align]. The first is the
+ // address register. The second operand is the value of the alignment
+ // specifier to use or zero if no explicit alignment.
} // end namespace ARM_AM
} // end namespace llvm
OpenPOWER on IntegriCloud