Skip to content

Commit

Permalink
[builtins] Move more float128-related helpers to GENERIC_TF_SOURCES list
Browse files Browse the repository at this point in the history
There are two different _generic_ lists of source files in the compiler-rt/lib/builtins/CMakeLists.txt. Now there is no simple way to not use the tf-variants of helpers at all.

Since there exists a separate `GENERIC_TF_SOURCES` list, it seems quite natural to move all float128-related helpers there. If it is not possible for some reason, it would be useful to have an explanation of that reason somewhere near the `GENERIC_TF_SOURCES` definition.

Differential Revision: https://reviews.llvm.org/D81282
  • Loading branch information
atrosinenko authored and asl committed Jun 25, 2020
1 parent 11f2ef4 commit a931ec7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions compiler-rt/lib/builtins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ set(GENERIC_SOURCES
absvti2.c
adddf3.c
addsf3.c
addtf3.c
addvdi3.c
addvsi3.c
addvti3.c
Expand Down Expand Up @@ -75,9 +74,7 @@ set(GENERIC_SOURCES
divsc3.c
divsf3.c
divsi3.c
divtc3.c
divti3.c
divtf3.c
extendsfdf2.c
extendhfsf2.c
ffsdi2.c
Expand Down Expand Up @@ -123,7 +120,6 @@ set(GENERIC_SOURCES
mulsc3.c
mulsf3.c
multi3.c
multf3.c
mulvdi3.c
mulvsi3.c
mulvti3.c
Expand All @@ -143,13 +139,11 @@ set(GENERIC_SOURCES
popcountti2.c
powidf2.c
powisf2.c
powitf2.c
subdf3.c
subsf3.c
subvdi3.c
subvsi3.c
subvti3.c
subtf3.c
trampoline_setup.c
truncdfhf2.c
truncdfsf2.c
Expand All @@ -168,7 +162,10 @@ set(GENERIC_SOURCES
)

set(GENERIC_TF_SOURCES
addtf3.c
comparetf2.c
divtc3.c
divtf3.c
extenddftf2.c
extendsftf2.c
fixtfdi.c
Expand All @@ -184,6 +181,9 @@ set(GENERIC_TF_SOURCES
floatunsitf.c
floatuntitf.c
multc3.c
multf3.c
powitf2.c
subtf3.c
trunctfdf2.c
trunctfsf2.c
)
Expand Down

0 comments on commit a931ec7

Please sign in to comment.