[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 10:59:54 PST 2017


weimingz created this revision.
Herald added subscribers: mgorny, aemerson.

in aeabi_ldivmod and uldivmod, using r6 instead of r12 as the temp reg due to limitation of Thumb1 ISA.
Now, all EABI sources are Thumb1 compatible.

Also added test cases by reusing the test cases from divmodsi4_test.c, udivmodsi4_test and udivmoddi4_test.c


https://reviews.llvm.org/D29226

Files:
  lib/builtins/CMakeLists.txt
  lib/builtins/arm/aeabi_ldivmod.S
  lib/builtins/arm/aeabi_uldivmod.S
  test/builtins/Unit/arm/aeabi_idivmod_test.c
  test/builtins/Unit/arm/aeabi_uidivmod_test.c
  test/builtins/Unit/arm/aeabi_uldivmod_test.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29226.86078.patch
Type: text/x-patch
Size: 1965049 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170127/9dd4aa62/attachment-0001.bin>


More information about the llvm-commits mailing list