[PATCH] D147685: [compiler-rt] [builtins] Don't use assembly floatundi*f on x86_64 mingw
Martin Storsjö via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 10 14:04:07 PDT 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rGdd75c50934c2: [compiler-rt] [builtins] Don't use assembly floatundi*f on x86_64 mingw (authored by mstorsjo).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D147685/new/
https://reviews.llvm.org/D147685
Files:
compiler-rt/lib/builtins/CMakeLists.txt
Index: compiler-rt/lib/builtins/CMakeLists.txt
===================================================================
--- compiler-rt/lib/builtins/CMakeLists.txt
+++ compiler-rt/lib/builtins/CMakeLists.txt
@@ -310,17 +310,27 @@
${x86_ARCH_SOURCES}
x86_64/floatdidf.c
x86_64/floatdisf.c
- x86_64/floatundidf.S
- x86_64/floatundisf.S
)
+ if (NOT WIN32)
+ set(x86_64_SOURCES
+ ${x86_64_SOURCES}
+ x86_64/floatundidf.S
+ x86_64/floatundisf.S
+ )
+ endif()
if (NOT ANDROID)
set(x86_64_SOURCES
${x86_64_SOURCES}
${x86_80_BIT_SOURCES}
x86_64/floatdixf.c
- x86_64/floatundixf.S
)
+ if (NOT WIN32)
+ set(x86_64_SOURCES
+ ${x86_64_SOURCES}
+ x86_64/floatundixf.S
+ )
+ endif()
endif()
# Darwin x86_64 Haswell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147685.512253.patch
Type: text/x-patch
Size: 822 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230410/cc5620e1/attachment.bin>
More information about the llvm-commits
mailing list