<div dir="ltr">Hi Tim,<div><br></div><div>Looks all right to me.</div><div><br></div><div>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?</div>
<div><br></div><div>cheers,</div><div>--renato</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 11 November 2013 18:36, Tim Northover <span dir="ltr"><<a href="mailto:t.p.northover@gmail.com" target="_blank">t.p.northover@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I'm working on building some more variants of compiler-rt, for<br>
Cortex-M CPUs in particular. Since those CPUs don't support ARM mode,<br>
we want the optimised functions to be compilable as Thumb2.<br>
<br>
Fortunately UAL syntax allows this, and the only change needed (I<br>
think) is to put in IT instructions for any conditional execution.<br>
These are ignored (well, checked for consistency as a QoI issue but<br>
don't generate code) when assembling in ARM mode.<br>
<br>
The attached patch adds all of these, I believe. OK to commit?<br>
<br>
Cheers.<br>
<span class="HOEnZb"><font color="#888888"><br>
Tim.<br>
</font></span><br>_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
<br></blockquote></div><br></div>