diff options
author | Weiming Zhao <weimingz@codeaurora.org> | 2017-01-30 18:48:05 +0000 |
---|---|---|
committer | Weiming Zhao <weimingz@codeaurora.org> | 2017-01-30 18:48:05 +0000 |
commit | 220f64c5cf362c3b2a31b79fd1c606bf3c99933f (patch) | |
tree | f97d6440c0c6a1b037c1dd0b375f80555ba44f8e /lib/builtins/CMakeLists.txt | |
parent | 4775ff6686a4b3991cfe5bfcfd009d0977d64c71 (diff) |
[Bultin][ARM] Make aeabi_uldivmod and aeabi_ldivmod be Thumb1 compatible
Summary:
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
Reviewers: rengolin, compnerd
Reviewed By: rengolin
Subscribers: javed.absar, aemerson, mgorny, llvm-commits
Differential Revision: https://reviews.llvm.org/D29226
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@293527 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/builtins/CMakeLists.txt')
-rw-r--r-- | lib/builtins/CMakeLists.txt | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/lib/builtins/CMakeLists.txt b/lib/builtins/CMakeLists.txt index 66281d377..939e40946 100644 --- a/lib/builtins/CMakeLists.txt +++ b/lib/builtins/CMakeLists.txt @@ -327,23 +327,6 @@ set(arm_EABI_SOURCES arm/aeabi_uidivmod.S arm/aeabi_uldivmod.S) -set(thumb1_EABI_SOURCES - arm/aeabi_cdcmp.S - arm/aeabi_cdcmpeq_check_nan.c - arm/aeabi_cfcmp.S - arm/aeabi_cfcmpeq_check_nan.c - arm/aeabi_dcmp.S - arm/aeabi_div0.c - arm/aeabi_drsub.c - arm/aeabi_fcmp.S - arm/aeabi_frsub.c - arm/aeabi_idivmod.S - arm/aeabi_memcmp.S - arm/aeabi_memcpy.S - arm/aeabi_memset.S - arm/aeabi_memmove.S - arm/aeabi_uidivmod.S) - set(arm_Thumb1_JT_SOURCES arm/switch16.S arm/switch32.S @@ -428,7 +411,7 @@ elseif(NOT WIN32) set(thumb1_SOURCES ${thumb1_SOURCES} - ${thumb1_EABI_SOURCES}) + ${arm_EABI_SOURCES}) endif() set(aarch64_SOURCES |