Added the B9.3.19 SUBS PC, LR, #imm (Thumb2) system instruction.
authorKevin Enderby <enderby@apple.com>
Wed, 31 Jul 2013 21:05:30 +0000 (21:05 +0000)
committerKevin Enderby <enderby@apple.com>
Wed, 31 Jul 2013 21:05:30 +0000 (21:05 +0000)
commite38070fc32818a6e412dafbb8b3807b413d0819e
tree1de7b8d724aac6fa8e418f0fe3ba33cc3cb78750
parent6b3f6a744a6d16c5d62dc3477186035e8a74a8e9
Added the B9.3.19 SUBS PC, LR, #imm (Thumb2) system instruction.
While the .td entry is nice and all, it takes a pretty gross hack in
ARMAsmParser::ParseInstruction() because of handling of other "subs"
instructions to get it to match.  Ran it by Jim Grosbach and he said it was
about what he expected to make this work given the existing code.

rdar://14214063

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187530 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMInstrThumb2.td
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
test/MC/ARM/basic-thumb2-instructions.s
test/MC/Disassembler/ARM/thumb2.txt