[PATCH] [Thumb] 32-bit encodings of 'cps' are not valid for v7M

Oliver Stannard oliver.stannard at arm.com
Tue Sep 23 03:05:54 PDT 2014


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.

http://reviews.llvm.org/D5461

Files:
  lib/Target/ARM/ARMInstrThumb2.td
  lib/Target/ARM/AsmParser/ARMAsmParser.cpp
  test/MC/ARM/cps.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5461.13981.patch
Type: text/x-patch
Size: 2202 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140923/6afe7215/attachment.bin>


More information about the llvm-commits mailing list