[libc-commits] [PATCH] D129005: [libc][math] Improved performance of exp2f function.
Paul Zimmermann via Phabricator via libc-commits
libc-commits at lists.llvm.org
Thu Jul 28 00:19:35 PDT 2022
zimmermann6 accepted this revision.
zimmermann6 added a comment.
This revision is now accepted and ready to land.
I confirm the reciprocal throughput decreased from 18 to 10 cycles (on the same machine as above):
zimmerma at biscotte:~/svn/core-math$ LIBM=/localdisk/zimmerma/llvm-project/build/projects/libc/lib/libllvmlibc.a CORE_MATH_PERF_MODE=rdtsc ./perf.sh exp2f
GNU libc version: 2.33
GNU libc release: release
9.728
7.085
10.040
zimmerma at biscotte:~/svn/core-math$ LIBM=/localdisk/zimmerma/llvm-project/build/projects/libc/lib/libllvmlibc.a CORE_MATH_PERF_MODE=rdtsc PERF_ARGS=--latency ./perf.sh exp2f
GNU libc version: 2.33
GNU libc release: release
37.106
29.520
48.515
Good work Kirill!
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129005/new/
https://reviews.llvm.org/D129005
More information about the libc-commits
mailing list