This fixes the Thumb2 CPS assembly syntax.
authorMihai Popa <mihail.popa@gmail.com>
Fri, 9 Aug 2013 13:52:32 +0000 (13:52 +0000)
committerMihai Popa <mihail.popa@gmail.com>
Fri, 9 Aug 2013 13:52:32 +0000 (13:52 +0000)
commit04b03fac11f10c92cf7ce63ba2f548a42ee2c448
treec36919a257fe03812da2f78b88907f1cc2bb99e6
parente921f323533ee751b3fa34bd00d10fa72096ffd3
This fixes the Thumb2 CPS assembly syntax.
In Thumb1, only one variant is supported: CPS{effect} {flags}

Thumb2 supports three:
CPS{effect}.W {flags}
CPS{effect} {flags} {mode}
CPS {mode}

Canonically, .W should be used only when ambiguity is present between encodings of different width.
The wide suffix is still accepted for the latter two forms via aliases.

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