[libc-commits] [PATCH] D129005: [libc][math] Improved performance of exp2f function.
Kirill Okhotnikov via Phabricator via libc-commits
libc-commits at lists.llvm.org
Fri Jul 1 10:04:48 PDT 2022
orex created this revision.
orex added reviewers: lntue, sivachandra.
Herald added subscribers: libc-commits, ecnelises, tschuett, mgorny.
Herald added projects: libc-project, All.
orex requested review of this revision.
New exp2 function algorithm:
1. Improved performance: 19.211 vs 29.002 by core-math perf tool.
2. Improved accuracy. Only two special values left.
3. Lookup table size reduced twice.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D129005
Files:
libc/src/math/generic/common_constants.cpp
libc/src/math/generic/common_constants.h
libc/src/math/generic/exp2f.cpp
libc/test/src/math/CMakeLists.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129005.441731.patch
Type: text/x-patch
Size: 10013 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20220701/4bc3f180/attachment.bin>
More information about the libc-commits
mailing list