[PATCH] D29226: [Bultin][ARM] Make aeabi_uldivmod and aeabi_ldivmod be Thumb1 compatible

Renato Golin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 27 12:16:50 PST 2017


rengolin added inline comments.


================
Comment at: lib/builtins/arm/aeabi_ldivmod.S:31
 #if defined(__MINGW32__)
-        mov     r12, r0
+        mov     r6, r0
         mov     r0, r2
----------------
This encoding only works in ARMv6+ (A8.8.103).

In ARMv4T you must use `movs` between two low regs.


https://reviews.llvm.org/D29226





More information about the llvm-commits mailing list