[libc-commits] [PATCH] D124495: [libc] Implement double precision FMA for targets without FMA instructions.

Tue Ly via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue Apr 26 18:41:58 PDT 2022


lntue created this revision.
lntue added reviewers: michaelrj, sivachandra, zimmermann6.
Herald added subscribers: ecnelises, tschuett, mgorny.
Herald added projects: libc-project, All.
lntue requested review of this revision.

Implement double precision FMA (Fused Multiply-Add) for targets without
FMA instructions using __uint128_t to store the intermediate results.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D124495

Files:
  libc/src/__support/FPUtil/CMakeLists.txt
  libc/src/__support/FPUtil/FMA.h
  libc/src/__support/FPUtil/Hypot.h
  libc/src/__support/FPUtil/clz.h
  libc/src/__support/FPUtil/generic/FMA.h
  libc/src/__support/FPUtil/generic/sqrt.h
  libc/src/__support/FPUtil/generic/sqrt_80_bit_long_double.h
  libc/test/src/math/CMakeLists.txt
  libc/test/src/math/FmaTest.h
  libc/test/src/math/fma_no_fma_test.cpp
  libc/test/src/math/fmaf_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124495.425388.patch
Type: text/x-patch
Size: 18357 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20220427/9990c567/attachment-0001.bin>


More information about the libc-commits mailing list