<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">I fixed it. r200039<div><br><div><div>On Jan 24, 2014, at 1:06 PM, Michael Ilseman <<a href="mailto:milseman@apple.com">milseman@apple.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br>On Jan 24, 2014, at 12:45 PM, Joerg Sonnenberger <<a href="mailto:joerg@bec.de">joerg@bec.de</a>> wrote:<br><br><blockquote type="cite">Author: joerg<br>Date: Fri Jan 24 14:45:18 2014<br>New Revision: 200035<br><br>URL: <a href="http://llvm.org/viewvc/llvm-project?rev=200035&view=rev">http://llvm.org/viewvc/llvm-project?rev=200035&view=rev</a><br>Log:<br>Don't use .arm for ARMv7M, which will use the hwdiv path. Non-hwdiv<br>remains ARM mode only, supporting thumb requires explicit it prefixes<br>for the predicted adds/subs and adjusting the offset computation for the<br>different block sizes.<br><br>Modified:<br>  compiler-rt/trunk/lib/arm/udivmodsi4.S<br>  compiler-rt/trunk/lib/arm/udivsi3.S<br>  compiler-rt/trunk/lib/arm/umodsi3.S<br><br>Modified: compiler-rt/trunk/lib/arm/udivmodsi4.S<br>URL: <a href="http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/udivmodsi4.S?rev=200035&r1=200034&r2=200035&view=diff">http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/udivmodsi4.S?rev=200035&r1=200034&r2=200035&view=diff</a><br>==============================================================================<br>--- compiler-rt/trunk/lib/arm/udivmodsi4.S (original)<br>+++ compiler-rt/trunk/lib/arm/udivmodsi4.S Fri Jan 24 14:45:18 2014<br>@@ -23,7 +23,9 @@<br>#endif<br><br><span class="Apple-tab-span" style="white-space: pre;">     </span>.text<br>+#if !__ARM_ARCH_EXT_IDIV__<br><span class="Apple-tab-span" style="white-space: pre;">      </span>.arm<br>+#endi<br></blockquote><br>I think you missed an “f” at the end of “endi"<br><br><blockquote type="cite"><span class="Apple-tab-span" style="white-space: pre;">        </span>.p2align 2<br>DEFINE_COMPILERRT_FUNCTION(__udivmodsi4)<br>#if __ARM_ARCH_EXT_IDIV__<br><br>Modified: compiler-rt/trunk/lib/arm/udivsi3.S<br>URL: <a href="http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/udivsi3.S?rev=200035&r1=200034&r2=200035&view=diff">http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/udivsi3.S?rev=200035&r1=200034&r2=200035&view=diff</a><br>==============================================================================<br>--- compiler-rt/trunk/lib/arm/udivsi3.S (original)<br>+++ compiler-rt/trunk/lib/arm/udivsi3.S Fri Jan 24 14:45:18 2014<br>@@ -25,7 +25,9 @@<br>#endif<br><br><span class="Apple-tab-span" style="white-space: pre;"> </span>.text<br>+#if !__ARM_ARCH_EXT_IDIV__<br><span class="Apple-tab-span" style="white-space: pre;">      </span>.arm<br>+#endif<br><span class="Apple-tab-span" style="white-space: pre;">   </span>.p2align 2<br>DEFINE_AEABI_FUNCTION_ALIAS(__aeabi_uidiv, __udivsi3)<br>DEFINE_COMPILERRT_FUNCTION(__udivsi3)<br><br>Modified: compiler-rt/trunk/lib/arm/umodsi3.S<br>URL: <a href="http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/umodsi3.S?rev=200035&r1=200034&r2=200035&view=diff">http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/umodsi3.S?rev=200035&r1=200034&r2=200035&view=diff</a><br>==============================================================================<br>--- compiler-rt/trunk/lib/arm/umodsi3.S (original)<br>+++ compiler-rt/trunk/lib/arm/umodsi3.S Fri Jan 24 14:45:18 2014<br>@@ -25,7 +25,9 @@<br>#endif<br><br><span class="Apple-tab-span" style="white-space: pre;">        </span>.text<br>+#if !__ARM_ARCH_EXT_IDIV__<br><span class="Apple-tab-span" style="white-space: pre;">      </span>.arm<br>+#endif<br><span class="Apple-tab-span" style="white-space: pre;">   </span>.p2align 2<br>DEFINE_COMPILERRT_FUNCTION(__umodsi3)<br>#if __ARM_ARCH_EXT_IDIV__<br><br><br>_______________________________________________<br>llvm-commits mailing list<br><a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits<br></blockquote><br><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">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a></div></blockquote></div><br></div></body></html>