[libc-commits] [PATCH] D147759: [libc][math] Update range reduction step for log2f and improve its performance.

Paul Zimmermann via Phabricator via libc-commits libc-commits at lists.llvm.org
Mon Apr 10 22:59:24 PDT 2023


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

all test are ok now. Reciprocal throughput:

  GNU libc version: 2.36
  GNU libc release: stable
  [####################] 100 %
  Ntrial = 20 ; Min = 9.649 + 0.454 clc/call; Median-Min = 0.288 clc/call; Max = 11.526 clc/call;
  [####################] 100 %
  Ntrial = 20 ; Min = 7.224 + 0.310 clc/call; Median-Min = 0.320 clc/call; Max = 8.306 clc/call;
  [####################] 100 %
  Ntrial = 20 ; Min = 10.579 + 0.162 clc/call; Median-Min = 0.024 clc/call; Max = 11.528 clc/call;

Latency:

  GNU libc version: 2.36
  GNU libc release: stable
  [####################] 100 %
  Ntrial = 20 ; Min = 42.395 + 0.340 clc/call; Median-Min = 0.322 clc/call; Max = 42.983 clc/call;
  [####################] 100 %
  Ntrial = 20 ; Min = 38.033 + 0.434 clc/call; Median-Min = 0.304 clc/call; Max = 39.897 clc/call;
  [####################] 100 %
  Ntrial = 20 ; Min = 41.699 + 0.343 clc/call; Median-Min = 0.327 clc/call; Max = 42.248 clc/call;


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D147759



More information about the libc-commits mailing list