[PATCH] compiler-rt: allow ARM assembly to compile in Thumb mode

Renato Golin renato.golin at linaro.org
Mon Nov 11 12:38:50 PST 2013


Hi Tim,

Looks all right to me.

I heard that the Kernel has macros to avoid printing them when not in
Thumb2 and I assumed it would be an error on, say, Thumb1. Is that going to
be a problem? If so, will those functions ever be used in Thumb1 mode?

cheers,
--renato


On 11 November 2013 18:36, Tim Northover <t.p.northover at gmail.com> wrote:

> Hi,
>
> I'm working on building some more variants of compiler-rt, for
> Cortex-M CPUs in particular. Since those CPUs don't support ARM mode,
> we want the optimised functions to be compilable as Thumb2.
>
> Fortunately UAL syntax allows this, and the only change needed (I
> think) is to put in IT instructions for any conditional execution.
> These are ignored (well, checked for consistency as a QoI issue but
> don't generate code) when assembling in ARM mode.
>
> The attached patch adds all of these, I believe. OK to commit?
>
> Cheers.
>
> Tim.
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131111/df71058a/attachment.html>


More information about the llvm-commits mailing list