[libc-commits] [PATCH] D122538: [libc] Improve the performance of expm1f.

Paul Zimmermann via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue Mar 29 06:31:02 PDT 2022


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

all values are still correctly rounded, and I confirm the speed improvement:

  zimmerma at tomate:/tmp/core-math$ LIBM=/users/zimmerma/svn/core-math/libllvmlibc.a ./perf.sh expm1f # previous code
  22.692
  54.039
  53.218
  zimmerma at tomate:/tmp/core-math$ LIBM=/tmp/libllvmlibc.a ./perf.sh expm1f # new code
  22.698
  54.037
  17.240

The llvm-libm results are the 3rd ones (first CORE-MATH, second GNU libc).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D122538



More information about the libc-commits mailing list