- Implement asm parsing support for LDRT, LDRBT, STRT, STRBT and
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Wed, 30 Mar 2011 23:32:32 +0000 (23:32 +0000)
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Wed, 30 Mar 2011 23:32:32 +0000 (23:32 +0000)
commit40829ed6f5e449fa33a9cd7022ce6c3941dace3d
treeffec1cbac89df78a6802d6b1831745b56ad0e129
parentc0e6d780cd7a0935f545a0ec0a9ad4a6ae8db2a9
- Implement asm parsing support for LDRT, LDRBT, STRT, STRBT and
  {STR,LDC}{2}_PRE.
- Fixed the encoding in some places.
- Some of those instructions were using am2offset and now use addrmode2.
Codegen isn't affected, instructions which use SelectAddrMode2Offset were not
touched.
- Teach printAddrMode2Operand to check by the addressing mode which index
mode to print.
- This is a work in progress, more work to come. The idea is to change places
which use am2offset to use addrmode2 instead, as to unify assembly parser.
- Add testcases for assembly parser

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128585 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMBaseInfo.h
lib/Target/ARM/ARMBaseInstrInfo.h
lib/Target/ARM/ARMInstrFormats.td
lib/Target/ARM/ARMInstrInfo.td
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp
lib/Target/ARM/InstPrinter/ARMInstPrinter.h
test/MC/ARM/arm_addrmode2.s [new file with mode: 0644]