[PATCH] ARM: allow hints on Cortex-M0 & remove pre-UAL "nop"

Tim Northover t.p.northover at gmail.com
Fri Oct 4 04:00:45 PDT 2013


Hi all,

I'm trying to support the Cortex-M0, which does allow the otherwise
Thumb2 instructions "nop", "yield" etc. The attached patch implements
this.

The main controversial point is that it's based on completely removing
the pre-UAL nop alias (first patch). Keeping it would be possible but
complicate the predicates, and LLVM doesn't have pre-UAL support as
any kind of goal.

What do people think?

Cheers.

Tim.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ARM-remove-pre-UAL-nop-hint.patch
Type: application/octet-stream
Size: 4181 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131004/3af94568/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-ARM-allow-cortex-m0-to-use-hint-instructions.patch
Type: application/octet-stream
Size: 7123 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131004/3af94568/attachment-0001.obj>


More information about the llvm-commits mailing list