[PATCH] ARM: Improve handling of the Thumb2 M-class MSR instruction
Petr Pavlu
petr.pavlu at arm.com
Wed Aug 20 00:39:57 PDT 2014
Hi,
This patch implements a few changes related to the Thumb2 M-class MSR instruction:
* better handling of unpredictable encodings,
* recognition of the _g and _nzcvqg variants by the asm parser only if the DSP extension is available,
* preferred output of MSR APSR moves with the _<bits> suffix for v7-M.
Thanks,
Petr
http://reviews.llvm.org/D4979
Files:
lib/Target/ARM/ARMInstrThumb2.td
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
lib/Target/ARM/Disassembler/ARMDisassembler.cpp
lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp
test/MC/ARM/thumb2-mclass.s
test/MC/ARM/thumbv7em.s
test/MC/Disassembler/ARM/invalid-thumb-MSR-MClass.txt
test/MC/Disassembler/ARM/thumb-MSR-MClass.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4979.12690.patch
Type: text/x-patch
Size: 17797 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140820/8e8a4c77/attachment.bin>
More information about the llvm-commits
mailing list