[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
Mon May 16 21:08:39 PDT 2022


lntue updated this revision to Diff 429930.
lntue marked an inline comment as done.
lntue added a comment.

Only apply FMA_OPT flags for x86-64 targets with FMA instructions.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D123615/new/

https://reviews.llvm.org/D123615

Files:
  libc/cmake/modules/LLVMLibCCheckCpuFeatures.cmake
  libc/cmake/modules/LLVMLibCFlagRules.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
  libc/test/src/math/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123615.429930.patch
Type: text/x-patch
Size: 13925 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20220517/af88a4d0/attachment.bin>


More information about the libc-commits mailing list