hanchenye-llvm-project/compiler-rt/lib/builtins/arm
Saleem Abdulrasool 48d4e4dd35 builtins: rework use of DEFINE_COMPILERRT_THUMB_FUNCTION
This is simply to help clarity of the code.  The functions are built as thumb
only if Thumb2 is available (__ARM_ARCH_ISA_THUMB == 2).  Sink the selection
into the location of the definition and make DEFINE_COMPILERRT_THUMB_FUNCTION
always define a thumb function while DEFINE_COMPILERRT_FUNCTION always selects
the default.

Since the .thumb_func directive is always available (at least on Linux, Windows,
and BSD), sinking the macro right into the macro works just as well.

No functional change intended.

llvm-svn: 219182
2014-10-07 02:39:13 +00:00
..
Makefile.mk
adddf3vfp.S [CompilerRT] use .p2align, .balign instead of .align 2014-05-12 15:23:37 +00:00
addsf3vfp.S [CompilerRT] use .p2align, .balign instead of .align 2014-05-12 15:23:37 +00:00
aeabi_dcmp.S [CompilerRT] use .p2align, .balign instead of .align 2014-05-12 15:23:37 +00:00
aeabi_div0.c builtins: replace section symbol with reference to spec 2014-09-08 01:49:24 +00:00
aeabi_fcmp.S [CompilerRT] use .p2align, .balign instead of .align 2014-05-12 15:23:37 +00:00
aeabi_idivmod.S [CompilerRT] use .p2align, .balign instead of .align 2014-05-12 15:23:37 +00:00
aeabi_ldivmod.S [CompilerRT] use .p2align, .balign instead of .align 2014-05-12 15:23:37 +00:00
aeabi_memcmp.S [CompilerRT] use .p2align, .balign instead of .align 2014-05-12 15:23:37 +00:00
aeabi_memcpy.S [CompilerRT] use .p2align, .balign instead of .align 2014-05-12 15:23:37 +00:00
aeabi_memmove.S [CompilerRT] use .p2align, .balign instead of .align 2014-05-12 15:23:37 +00:00
aeabi_memset.S [CompilerRT] use .p2align, .balign instead of .align 2014-05-12 15:23:37 +00:00
aeabi_uidivmod.S [CompilerRT] use .p2align, .balign instead of .align 2014-05-12 15:23:37 +00:00
aeabi_uldivmod.S [CompilerRT] use .p2align, .balign instead of .align 2014-05-12 15:23:37 +00:00
bswapdi2.S builtins: rework use of DEFINE_COMPILERRT_THUMB_FUNCTION 2014-10-07 02:39:13 +00:00
bswapsi2.S builtins: rework use of DEFINE_COMPILERRT_THUMB_FUNCTION 2014-10-07 02:39:13 +00:00
clzdi2.S builtins: rework use of DEFINE_COMPILERRT_THUMB_FUNCTION 2014-10-07 02:39:13 +00:00
clzsi2.S builtins: rework use of DEFINE_COMPILERRT_THUMB_FUNCTION 2014-10-07 02:39:13 +00:00
comparesf2.S Fix typos 2014-05-15 02:22:34 +00:00
divdf3vfp.S [CompilerRT] use .p2align, .balign instead of .align 2014-05-12 15:23:37 +00:00
divmodsi4.S builtins: rework use of DEFINE_COMPILERRT_THUMB_FUNCTION 2014-10-07 02:39:13 +00:00
divsf3vfp.S [CompilerRT] use .p2align, .balign instead of .align 2014-05-12 15:23:37 +00:00
divsi3.S builtins: rework use of DEFINE_COMPILERRT_THUMB_FUNCTION 2014-10-07 02:39:13 +00:00
eqdf2vfp.S [CompilerRT] use .p2align, .balign instead of .align 2014-05-12 15:23:37 +00:00
eqsf2vfp.S [CompilerRT] use .p2align, .balign instead of .align 2014-05-12 15:23:37 +00:00
extendsfdf2vfp.S [CompilerRT] use .p2align, .balign instead of .align 2014-05-12 15:23:37 +00:00
fixdfsivfp.S [CompilerRT] use .p2align, .balign instead of .align 2014-05-12 15:23:37 +00:00
fixsfsivfp.S [CompilerRT] use .p2align, .balign instead of .align 2014-05-12 15:23:37 +00:00
fixunsdfsivfp.S [CompilerRT] use .p2align, .balign instead of .align 2014-05-12 15:23:37 +00:00
fixunssfsivfp.S [CompilerRT] use .p2align, .balign instead of .align 2014-05-12 15:23:37 +00:00
floatsidfvfp.S [CompilerRT] use .p2align, .balign instead of .align 2014-05-12 15:23:37 +00:00
floatsisfvfp.S [CompilerRT] use .p2align, .balign instead of .align 2014-05-12 15:23:37 +00:00
floatunssidfvfp.S [CompilerRT] use .p2align, .balign instead of .align 2014-05-12 15:23:37 +00:00
floatunssisfvfp.S [CompilerRT] use .p2align, .balign instead of .align 2014-05-12 15:23:37 +00:00
gedf2vfp.S [CompilerRT] use .p2align, .balign instead of .align 2014-05-12 15:23:37 +00:00
gesf2vfp.S [CompilerRT] use .p2align, .balign instead of .align 2014-05-12 15:23:37 +00:00
gtdf2vfp.S [CompilerRT] use .p2align, .balign instead of .align 2014-05-12 15:23:37 +00:00
gtsf2vfp.S [CompilerRT] use .p2align, .balign instead of .align 2014-05-12 15:23:37 +00:00
ledf2vfp.S [CompilerRT] use .p2align, .balign instead of .align 2014-05-12 15:23:37 +00:00
lesf2vfp.S [CompilerRT] use .p2align, .balign instead of .align 2014-05-12 15:23:37 +00:00
ltdf2vfp.S [CompilerRT] use .p2align, .balign instead of .align 2014-05-12 15:23:37 +00:00
ltsf2vfp.S [CompilerRT] use .p2align, .balign instead of .align 2014-05-12 15:23:37 +00:00
modsi3.S builtins: rework use of DEFINE_COMPILERRT_THUMB_FUNCTION 2014-10-07 02:39:13 +00:00
muldf3vfp.S [CompilerRT] use .p2align, .balign instead of .align 2014-05-12 15:23:37 +00:00
mulsf3vfp.S [CompilerRT] use .p2align, .balign instead of .align 2014-05-12 15:23:37 +00:00
nedf2vfp.S [CompilerRT] use .p2align, .balign instead of .align 2014-05-12 15:23:37 +00:00
negdf2vfp.S [CompilerRT] use .p2align, .balign instead of .align 2014-05-12 15:23:37 +00:00
negsf2vfp.S [CompilerRT] use .p2align, .balign instead of .align 2014-05-12 15:23:37 +00:00
nesf2vfp.S [CompilerRT] use .p2align, .balign instead of .align 2014-05-12 15:23:37 +00:00
restore_vfp_d8_d15_regs.S Move .subsections_via_symbols directives into DEFINE_COMPILERRT_PRIVATE_FUNCTION 2014-05-12 17:38:36 +00:00
save_vfp_d8_d15_regs.S Move .subsections_via_symbols directives into DEFINE_COMPILERRT_PRIVATE_FUNCTION 2014-05-12 17:38:36 +00:00
softfloat-alias.list
subdf3vfp.S [CompilerRT] use .p2align, .balign instead of .align 2014-05-12 15:23:37 +00:00
subsf3vfp.S [CompilerRT] use .p2align, .balign instead of .align 2014-05-12 15:23:37 +00:00
switch8.S Move .subsections_via_symbols directives into DEFINE_COMPILERRT_PRIVATE_FUNCTION 2014-05-12 17:38:36 +00:00
switch16.S Move .subsections_via_symbols directives into DEFINE_COMPILERRT_PRIVATE_FUNCTION 2014-05-12 17:38:36 +00:00
switch32.S Move .subsections_via_symbols directives into DEFINE_COMPILERRT_PRIVATE_FUNCTION 2014-05-12 17:38:36 +00:00
switchu8.S Move .subsections_via_symbols directives into DEFINE_COMPILERRT_PRIVATE_FUNCTION 2014-05-12 17:38:36 +00:00
sync-ops.h Fix the armv7 thumb builtins on darwin 2014-10-04 00:18:59 +00:00
sync_fetch_and_add_4.S
sync_fetch_and_add_8.S [compiler-rt] Do not use ldrexd or strexd on v7M 2014-09-29 10:23:20 +00:00
sync_fetch_and_and_4.S
sync_fetch_and_and_8.S [compiler-rt] Do not use ldrexd or strexd on v7M 2014-09-29 10:23:20 +00:00
sync_fetch_and_max_4.S
sync_fetch_and_max_8.S [compiler-rt] Do not use ldrexd or strexd on v7M 2014-09-29 10:23:20 +00:00
sync_fetch_and_min_4.S
sync_fetch_and_min_8.S [compiler-rt] Do not use ldrexd or strexd on v7M 2014-09-29 10:23:20 +00:00
sync_fetch_and_nand_4.S
sync_fetch_and_nand_8.S [compiler-rt] Do not use ldrexd or strexd on v7M 2014-09-29 10:23:20 +00:00
sync_fetch_and_or_4.S
sync_fetch_and_or_8.S [compiler-rt] Do not use ldrexd or strexd on v7M 2014-09-29 10:23:20 +00:00
sync_fetch_and_sub_4.S
sync_fetch_and_sub_8.S [compiler-rt] Do not use ldrexd or strexd on v7M 2014-09-29 10:23:20 +00:00
sync_fetch_and_umax_4.S
sync_fetch_and_umax_8.S [compiler-rt] Do not use ldrexd or strexd on v7M 2014-09-29 10:23:20 +00:00
sync_fetch_and_umin_4.S
sync_fetch_and_umin_8.S [compiler-rt] Do not use ldrexd or strexd on v7M 2014-09-29 10:23:20 +00:00
sync_fetch_and_xor_4.S
sync_fetch_and_xor_8.S [compiler-rt] Do not use ldrexd or strexd on v7M 2014-09-29 10:23:20 +00:00
sync_synchronize.S [CompilerRT] use .p2align, .balign instead of .align 2014-05-12 15:23:37 +00:00
truncdfsf2vfp.S [CompilerRT] use .p2align, .balign instead of .align 2014-05-12 15:23:37 +00:00
udivmodsi4.S builtins: rework use of DEFINE_COMPILERRT_THUMB_FUNCTION 2014-10-07 02:39:13 +00:00
udivsi3.S builtins: rework use of DEFINE_COMPILERRT_THUMB_FUNCTION 2014-10-07 02:39:13 +00:00
umodsi3.S builtins: rework use of DEFINE_COMPILERRT_THUMB_FUNCTION 2014-10-07 02:39:13 +00:00
unorddf2vfp.S [CompilerRT] use .p2align, .balign instead of .align 2014-05-12 15:23:37 +00:00
unordsf2vfp.S [CompilerRT] use .p2align, .balign instead of .align 2014-05-12 15:23:37 +00:00