[libc-commits] [PATCH] D129278: [libc][math] Added sinhf function.

Paul Zimmermann via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue Jul 12 07:42:04 PDT 2022


zimmermann6 added a comment.

In D129278#3645231 <https://reviews.llvm.org/D129278#3645231>, @orex wrote:

> The easiest way, from my point of view, will be to apply it on top of working coshf branch, which you made and test.

thank you, this worked perfectly. All exhaustive tests do pass, and the timings are as follows (same processor and compilers as D129275 <https://reviews.llvm.org/D129275>):

  zimmerma at biscotte:~/svn/core-math$ LIBM=/localdisk/zimmerma/llvm-project/build/projects/libc/lib/libllvmlibc.a CORE_MATH_LAUNCHER="/localdisk/zimmerma/glibc-2.35/install/lib/ld-linux-x86-64.so.2 --library-path /localdisk/zimmerma/glibc-2.35/install/lib" CORE_MATH_PERF_MODE=rdtsc ./perf.sh sinhf
  GNU libc version: 2.35
  GNU libc release: stable
  17.417
  50.935
  32.774

thus 17 cycles for CORE-MATH, 51 cycles for glibc 2.35, and 33 cycles for llvm-libc.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D129278



More information about the libc-commits mailing list