Check in a patch that has already been code reviewed by Owen that I'd forgotten to...
authorJames Molloy <james.molloy@arm.com>
Wed, 28 Sep 2011 14:21:38 +0000 (14:21 +0000)
committerJames Molloy <james.molloy@arm.com>
Wed, 28 Sep 2011 14:21:38 +0000 (14:21 +0000)
commitacad68da50581de905a994ed3c6b9c197bcea687
tree762c6b5dbdef98ff11c9c44d6bdffcdc6535e4f2
parent113aa8612010434069fc5b5e09f6b2667e03e173
Check in a patch that has already been code reviewed by Owen that I'd forgotten to commit.

Build on previous patches to successfully distinguish between an M-series and A/R-series MSR and MRS instruction. These take different mask names and have a *slightly* different opcode format.

Add decoder and disassembler tests.

Improvement on the previous patch - successfully distinguish between valid v6m and v7m masks (one is a subset of the other). The patch had to be edited slightly to apply to ToT.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140696 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARM.td
lib/Target/ARM/ARMInstrInfo.td
lib/Target/ARM/ARMInstrThumb2.td
lib/Target/ARM/ARMSubtarget.cpp
lib/Target/ARM/ARMSubtarget.h
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp
lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp
test/MC/ARM/thumb2-mclass.s [new file with mode: 0644]
test/MC/Disassembler/ARM/thumb-MSR-MClass.txt [new file with mode: 0644]
test/MC/Disassembler/ARM/thumb-tests.txt