Add parsing for the Thumb t_addrmode_s4 addressing mode. This can almost
authorBill Wendling <isanbard@gmail.com>
Tue, 30 Nov 2010 07:44:32 +0000 (07:44 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 30 Nov 2010 07:44:32 +0000 (07:44 +0000)
commitef4a68badbde372faac9ca47efb9001def57a43d
tree2365abf528a38f22d1d78168fd89899a6034ae6a
parent3f8e61789100ee411d0bfe00fb90df60eaed65f5
Add parsing for the Thumb t_addrmode_s4 addressing mode. This can almost
certainly be made more generic. But it does allow us to parse something like:

          ldr     r3, [r2, r4]

correctly in Thumb mode.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120408 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMCodeEmitter.cpp
lib/Target/ARM/ARMInstrThumb.td
lib/Target/ARM/ARMMCCodeEmitter.cpp
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
test/MC/ARM/thumb.s