[libc-commits] [PATCH] D123615: [libc] Automatically add -mfma flag for architectures supporting FMA.
Tue Ly via Phabricator via libc-commits
libc-commits at lists.llvm.org
Tue Apr 12 08:50:29 PDT 2022
lntue created this revision.
lntue added reviewers: michaelrj, sivachandra.
Herald added subscribers: ecnelises, tschuett, mgorny.
Herald added projects: libc-project, All.
lntue requested review of this revision.
Detect if the architecture supports FMA instructions and if
the targets depend on fma.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D123615
Files:
libc/cmake/modules/LLVMLibCCheckCpuFeatures.cmake
libc/cmake/modules/LLVMLibCLibraryRules.cmake
libc/cmake/modules/LLVMLibCObjectRules.cmake
libc/src/__support/FPUtil/CMakeLists.txt
libc/src/__support/FPUtil/PolyEval.h
libc/src/__support/FPUtil/x86_64/FMA.h
libc/src/__support/FPUtil/x86_64/PolyEval.h
libc/src/__support/architectures.h
libc/src/math/CMakeLists.txt
libc/src/math/fma.cpp
libc/src/math/fmaf.cpp
libc/src/math/generic/CMakeLists.txt
libc/src/math/generic/exp2f.cpp
libc/src/math/generic/expf.cpp
libc/src/math/generic/expm1f.cpp
libc/src/math/generic/log10f.cpp
libc/src/math/generic/log1pf.cpp
libc/src/math/generic/log2f.cpp
libc/src/math/generic/logf.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123615.422254.patch
Type: text/x-patch
Size: 16299 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20220412/10dbde3a/attachment-0001.bin>
More information about the libc-commits
mailing list