[all-commits] [llvm/llvm-project] 614567: [libc] Automatically add -mfma flag for architectu...
lntue via All-commits
all-commits at lists.llvm.org
Thu Jun 2 22:21:36 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 614567a7bf4a7a4c2570ad9a499b77155dfb54ce
https://github.com/llvm/llvm-project/commit/614567a7bf4a7a4c2570ad9a499b77155dfb54ce
Author: Tue Ly <lntue.h at gmail.com>
Date: 2022-06-03 (Fri, 03 Jun 2022)
Changed paths:
M libc/cmake/modules/LLVMLibCCheckCpuFeatures.cmake
M libc/cmake/modules/LLVMLibCFlagRules.cmake
M libc/cmake/modules/LLVMLibCObjectRules.cmake
M libc/src/__support/FPUtil/CMakeLists.txt
M libc/src/__support/FPUtil/PolyEval.h
M libc/src/__support/FPUtil/x86_64/FMA.h
M libc/src/__support/FPUtil/x86_64/PolyEval.h
M libc/src/__support/architectures.h
M libc/src/math/CMakeLists.txt
M libc/src/math/fma.cpp
M libc/src/math/fmaf.cpp
M libc/src/math/generic/CMakeLists.txt
M libc/src/math/generic/exp2f.cpp
M libc/src/math/generic/expf.cpp
M libc/src/math/generic/expm1f.cpp
M libc/src/math/generic/log10f.cpp
M libc/src/math/generic/log1pf.cpp
M libc/src/math/generic/log2f.cpp
M libc/src/math/generic/logf.cpp
M libc/test/src/math/CMakeLists.txt
Log Message:
-----------
[libc] Automatically add -mfma flag for architectures supporting FMA.
Detect if the architecture supports FMA instructions and if
the targets depend on fma.
Reviewed By: gchatelet
Differential Revision: https://reviews.llvm.org/D123615
More information about the All-commits
mailing list