[libc-commits] [PATCH] D142681: [libc][math] Implement asinhf function correctly rounded for all rounding modes.

Paul Zimmermann via Phabricator via libc-commits libc-commits at lists.llvm.org
Fri Jan 27 01:28:09 PST 2023


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

I confirm all exhaustive tests do pass, and the timings are similar to CORE-MATH:

  zimmerma at biscotte:~/svn/core-math$ LIBM=/localdisk/zimmerma/llvm-project/build/projects/libc/lib/libllvmlibc.a ./perf.sh asinhf
  GNU libc version: 2.36
  GNU libc release: stable
  [####################] 100 %
  Ntrial = 20 ; Min = 24.687 + 0.365 clc/call; Median-Min = 0.296 clc/call; Max = 26.051 clc/call;
  [####################] 100 %
  Ntrial = 20 ; Min = 37.687 + 0.295 clc/call; Median-Min = 0.287 clc/call; Max = 39.359 clc/call;
  [####################] 100 %
  Ntrial = 20 ; Min = 25.939 + 0.320 clc/call; Median-Min = 0.292 clc/call; Max = 26.596 clc/call;


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D142681



More information about the libc-commits mailing list