diff options
author | Jim Grosbach <grosbach@apple.com> | 2009-11-07 21:25:39 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2009-11-07 21:25:39 +0000 |
commit | d1d002a6fe4d19f3dbaaa4b080779024eeccd210 (patch) | |
tree | 733d52b5a7d1a16789a791c3f18976fb978bfb67 /llvm/lib/Target/ARM/ARMAddressingModes.h | |
parent | b9397262b7acf938f0958072a9765921ceead706 (diff) | |
download | bcm5719-llvm-d1d002a6fe4d19f3dbaaa4b080779024eeccd210.tar.gz bcm5719-llvm-d1d002a6fe4d19f3dbaaa4b080779024eeccd210.zip |
Support alignment specifier for NEON vld/vst instructions
llvm-svn: 86404
Diffstat (limited to 'llvm/lib/Target/ARM/ARMAddressingModes.h')
-rw-r--r-- | llvm/lib/Target/ARM/ARMAddressingModes.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/llvm/lib/Target/ARM/ARMAddressingModes.h b/llvm/lib/Target/ARM/ARMAddressingModes.h index c603708652f..6ee1b68efaa 100644 --- a/llvm/lib/Target/ARM/ARMAddressingModes.h +++ b/llvm/lib/Target/ARM/ARMAddressingModes.h @@ -541,13 +541,15 @@ namespace ARM_AM { // // This is used for NEON load / store instructions. // - // addrmode6 := reg with optional writeback + // addrmode6 := reg with optional writeback and alignment // - // This is stored in three operands [regaddr, regupdate, opc]. 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. + // 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; |