[PATCH] compiler-rt: allow ARM assembly to compile in Thumb mode
renato.golin at linaro.org
Mon Nov 11 12:38:50 PST 2013
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?
On 11 November 2013 18:36, Tim Northover <t.p.northover at gmail.com> wrote:
> 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?
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-commits