diff options
author | Weiming Zhao <weimingz@codeaurora.org> | 2016-12-05 21:40:36 +0000 |
---|---|---|
committer | Weiming Zhao <weimingz@codeaurora.org> | 2016-12-05 21:40:36 +0000 |
commit | 92aa663d37027ec3ae85dc3750dad19beb5b5380 (patch) | |
tree | c9d75b9a962ab176b86d8ba2f5326bec14c2bd57 /include | |
parent | 2ad661c3f71c1810d9ea5aa1edae51fcee44bfcc (diff) |
builtins: Add ARM Thumb1 implementation for uidiv and uidivmod
Summary:
The current uidiv supports archs without clz. However, the asm is for thumb2/arm.
For uidivmod, the existing code calls the C version of uidivmodsi4, which then calls uidiv. The extra push/pop/bl makes it less efficient.
Reviewers: jmolloy, jroelofs, joerg, compnerd, rengolin
Subscribers: llvm-commits, aemerson
Differential Revision: https://reviews.llvm.org/D27309
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@288710 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions