[all-commits] [llvm/llvm-project] c78144: [libc][math] Improved performance of exp2f function.
orex via All-commits
all-commits at lists.llvm.org
Thu Jul 28 01:58:18 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c78144e1c74b689504b240c0a511b8561212523f
https://github.com/llvm/llvm-project/commit/c78144e1c74b689504b240c0a511b8561212523f
Author: Kirill Okhotnikov <okir at google.com>
Date: 2022-07-28 (Thu, 28 Jul 2022)
Changed paths:
M libc/docs/math.rst
M libc/src/math/generic/CMakeLists.txt
M libc/src/math/generic/common_constants.cpp
M libc/src/math/generic/common_constants.h
M libc/src/math/generic/exp2f.cpp
Log Message:
-----------
[libc][math] Improved performance of exp2f function.
New exp2 function algorithm:
1) Improved performance: 8.176 vs 15.270 by core-math perf tool.
2) Improved accuracy. Only two special values left.
3) Lookup table size reduced twice.
Differential Revision: https://reviews.llvm.org/D129005
More information about the All-commits
mailing list