[PATCH] D29226: [Bultin][ARM] Make aeabi_uldivmod and aeabi_ldivmod be Thumb1 compatible
Weiming Zhao via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 27 14:22:15 PST 2017
weimingz added inline comments.
================
Comment at: lib/builtins/arm/aeabi_ldivmod.S:31
#if defined(__MINGW32__)
- mov r12, r0
+ mov r6, r0
mov r0, r2
----------------
rengolin wrote:
> This encoding only works in ARMv6+ (A8.8.103).
>
> In ARMv4T you must use `movs` between two low regs.
Good catch!
https://reviews.llvm.org/D29226
More information about the llvm-commits
mailing list