[Thumb] 32-bit encodings of 'cps' are not valid for v7M
authorOliver Stannard <oliver.stannard@arm.com>
Wed, 24 Sep 2014 14:20:01 +0000 (14:20 +0000)
committerOliver Stannard <oliver.stannard@arm.com>
Wed, 24 Sep 2014 14:20:01 +0000 (14:20 +0000)
commit43c6b6be8f9a32490a146687e49b036576b0a3fa
tree49c25c118c6771e0e88dcfc9a4aadc4a9303e822
parent6a07014c575b918ab2caa3e58e597640b4bcd7b5
[Thumb] 32-bit encodings of 'cps' are not valid for v7M

v7M only allows the 16-bit encoding of the 'cps' (Change Processor
State) instruction, and does not have the 32-bit encoding which is
valid from v6T2 onwards.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218382 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMInstrThumb2.td
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
test/MC/ARM/cps.s [new file with mode: 0644]