[libc-commits] [PATCH] D100811: [libc] Add hardware implementations of fma and fmaf for x86_64 and aarch64.
Siva Chandra via Phabricator via libc-commits
libc-commits at lists.llvm.org
Mon Apr 19 21:03:18 PDT 2021
sivachandra created this revision.
sivachandra added a reviewer: lntue.
Herald added subscribers: libc-commits, ecnelises, danielkiss, tschuett, kristof.beyls, mgorny.
Herald added a project: libc-project.
sivachandra requested review of this revision.
The current generic implementation of the fmaf function has been moved
to the FPUtil directory. This allows one use the fma operation from
implementations of other math functions like the trignometric functions
without depending on/requiring the fma/fmaf/fmal function targets. If
this pattern ends being convenient, we will switch all generic math
implementations to this pattern.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D100811
Files:
libc/config/linux/aarch64/entrypoints.txt
libc/src/math/CMakeLists.txt
libc/src/math/fma.cpp
libc/src/math/fma.h
libc/src/math/fmaf.cpp
libc/src/math/generic/CMakeLists.txt
libc/src/math/generic/fmaf.cpp
libc/test/src/math/CMakeLists.txt
libc/test/src/math/fma_test.cpp
libc/utils/FPUtil/FMA.h
libc/utils/FPUtil/aarch64/FMA.h
libc/utils/FPUtil/generic/FMA.h
libc/utils/FPUtil/generic/README.md
libc/utils/FPUtil/x86_64/FMA.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100811.338701.patch
Type: text/x-patch
Size: 12922 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20210420/21e048e2/attachment.bin>
More information about the libc-commits
mailing list