[libc-commits] [PATCH] D147676: [libc][math] Update range reduction step for log10f and reduce its latency.
Paul Zimmermann via Phabricator via libc-commits
libc-commits at lists.llvm.org
Thu Apr 6 23:07:52 PDT 2023
zimmermann6 accepted this revision.
zimmermann6 added a comment.
This revision is now accepted and ready to land.
the failure is fixed now, and the performance is slightly better than the 'main' branch on my machine:
zimmerma at biscotte:~/svn/core-math$ LIBM=/localdisk/zimmerma/llvm-project/build/projects/libc/lib/libllvmlibc.a ./perf.sh log10f
GNU libc version: 2.36
GNU libc release: stable
[####################] 100 %
Ntrial = 20 ; Min = 10.523 + 0.392 clc/call; Median-Min = 0.332 clc/call; Max = 11.603 clc/call;
[####################] 100 %
Ntrial = 20 ; Min = 18.521 + 0.418 clc/call; Median-Min = 0.330 clc/call; Max = 19.653 clc/call;
[####################] 100 %
Ntrial = 20 ; Min = 12.929 + 0.626 clc/call; Median-Min = 0.297 clc/call; Max = 15.292 clc/call;
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D147676/new/
https://reviews.llvm.org/D147676
More information about the libc-commits
mailing list