[libc-commits] [PATCH] D150014: [libc][math] Make log10 correctly rounded for non-FMA targets and improve itsperformance.
Paul Zimmermann via Phabricator via libc-commits
libc-commits at lists.llvm.org
Tue May 23 04:51:15 PDT 2023
zimmermann6 accepted this revision.
zimmermann6 added a comment.
This revision is now accepted and ready to land.
all worst cases from core-math do pass. However I get a larger reciprocal throughput on a AMD EPYC 7282:
GNU libc version: 2.36
GNU libc release: stable
[####################] 100 %
Ntrial = 20 ; Min = 21.270 + 0.322 clc/call; Median-Min = 0.302 clc/call; Max = 23.839 clc/call;
[####################] 100 %
Ntrial = 20 ; Min = 26.172 + 0.346 clc/call; Median-Min = 0.310 clc/call; Max = 26.798 clc/call;
[####################] 100 %
Ntrial = 20 ; Min = 49.688 + 0.306 clc/call; Median-Min = 0.308 clc/call; Max = 50.288 clc/call;
For the latency I get similar values:
GNU libc version: 2.36
GNU libc release: stable
[####################] 100 %
Ntrial = 20 ; Min = 65.915 + 0.316 clc/call; Median-Min = 0.282 clc/call; Max = 66.518 clc/call;
[####################] 100 %
Ntrial = 20 ; Min = 73.612 + 0.389 clc/call; Median-Min = 0.326 clc/call; Max = 74.422 clc/call;
[####################] 100 %
Ntrial = 20 ; Min = 66.387 + 0.276 clc/call; Median-Min = 0.303 clc/call; Max = 67.140 clc/call;
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150014/new/
https://reviews.llvm.org/D150014
More information about the libc-commits
mailing list