[libc-commits] [PATCH] D150131: [libc][math] Implement double precision log function correctly rounded to all rounding modes.

Paul Zimmermann via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue May 23 07:30:24 PDT 2023


zimmermann6 accepted this revision.
zimmermann6 added a comment.
This revision is now accepted and ready to land.

it works now, thanks. I get for the reciprocal throughput on a AMD EPYC 7282:

  GNU libc version: 2.36
  GNU libc release: stable
  [####################] 100 %
  Ntrial = 20 ; Min = 21.404 + 0.252 clc/call; Median-Min = 0.295 clc/call; Max = 23.841 clc/call;
  [####################] 100 %
  Ntrial = 20 ; Min = 13.188 + 0.181 clc/call; Median-Min = 0.036 clc/call; Max = 13.582 clc/call;
  [####################] 100 %
  Ntrial = 20 ; Min = 22.978 + 0.294 clc/call; Median-Min = 0.304 clc/call; Max = 23.516 clc/call;

and for the latency:

  GNU libc version: 2.36
  GNU libc release: stable
  [####################] 100 %
  Ntrial = 20 ; Min = 57.524 + 0.353 clc/call; Median-Min = 0.298 clc/call; Max = 58.199 clc/call;
  [####################] 100 %
  Ntrial = 20 ; Min = 49.889 + 0.110 clc/call; Median-Min = 0.058 clc/call; Max = 50.229 clc/call;
  [####################] 100 %
  Ntrial = 20 ; Min = 51.938 + 0.328 clc/call; Median-Min = 0.307 clc/call; Max = 52.466 clc/call;


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150131/new/

https://reviews.llvm.org/D150131



More information about the libc-commits mailing list