[libc-commits] [PATCH] D123335: [libc] Add support for x86-64 targets that do not have FMA instructions.
Tue Ly via Phabricator via libc-commits
libc-commits at lists.llvm.org
Thu Apr 7 13:05:52 PDT 2022
lntue created this revision.
lntue added reviewers: michaelrj, sivachandra, abrachet.
Herald added subscribers: ecnelises, tschuett, pengfei, mgorny.
Herald added projects: libc-project, All.
lntue requested review of this revision.
Make FMA flag checks more accurate for x86-64 targets, and refactor
polyeval to use multiply and add instead when FMA instructions are not
available.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D123335
Files:
libc/src/__support/FPUtil/CMakeLists.txt
libc/src/__support/FPUtil/FMA.h
libc/src/__support/FPUtil/PolyEval.h
libc/src/__support/FPUtil/aarch64/FMA.h
libc/src/__support/FPUtil/generic/CMakeLists.txt
libc/src/__support/FPUtil/generic/FMA.h
libc/src/__support/FPUtil/multiply_add.h
libc/src/__support/FPUtil/x86_64/FMA.h
libc/src/__support/architectures.h
libc/src/math/CMakeLists.txt
libc/src/math/generic/CMakeLists.txt
libc/src/math/generic/expm1f.cpp
libc/src/math/generic/log10f.cpp
libc/src/math/generic/log1pf.cpp
libc/src/math/generic/logf.cpp
utils/bazel/llvm-project-overlay/libc/BUILD.bazel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123335.421326.patch
Type: text/x-patch
Size: 13683 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20220407/34f367b1/attachment.bin>
More information about the libc-commits
mailing list