From: Nico Weber Date: Thu, 5 Sep 2019 18:03:18 +0000 (+0000) Subject: gn build: (manually) merge r358706 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1eed8c70c1ea046162b9723b004bc4ffd3599859;p=llvm gn build: (manually) merge r358706 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@371102 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/gn/secondary/compiler-rt/lib/builtins/BUILD.gn b/utils/gn/secondary/compiler-rt/lib/builtins/BUILD.gn index 19623f78318..eedc934f783 100644 --- a/utils/gn/secondary/compiler-rt/lib/builtins/BUILD.gn +++ b/utils/gn/secondary/compiler-rt/lib/builtins/BUILD.gn @@ -191,6 +191,30 @@ static_library("builtins") { ] } + if ((target_cpu == "x64" && target_os != "win") || target_cpu == "arm64") { + # GENERIC_TF_SOURCES + sources += [ + "comparetf2.c", + "extenddftf2.c", + "extendsftf2.c", + "fixtfdi.c", + "fixtfsi.c", + "fixtfti.c", + "fixunstfdi.c", + "fixunstfsi.c", + "fixunstfti.c", + "floatditf.c", + "floatsitf.c", + "floattitf.c", + "floatunditf.c", + "floatunsitf.c", + "floatuntitf.c", + "multc3.c", + "trunctfdf2.c", + "trunctfsf2.c", + ] + } + if (target_cpu == "x86" || target_cpu == "x64") { sources += [ "cpu_model.c", @@ -336,24 +360,6 @@ static_library("builtins") { if (target_cpu == "arm64") { sources += [ "aarch64/fp_mode.c", - "comparetf2.c", - "extenddftf2.c", - "extendsftf2.c", - "fixtfdi.c", - "fixtfsi.c", - "fixtfti.c", - "fixunstfdi.c", - "fixunstfsi.c", - "fixunstfti.c", - "floatditf.c", - "floatsitf.c", - "floattitf.c", - "floatunditf.c", - "floatunsitf.c", - "floatuntitf.c", - "multc3.c", - "trunctfdf2.c", - "trunctfsf2.c", ] if (target_os == "mingw") { sources += [