[libc-commits] [PATCH] D122418: [libc] Improve the performance of expf.

Paul Zimmermann via Phabricator via libc-commits libc-commits at lists.llvm.org
Fri Mar 25 04:35:59 PDT 2022


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

ok for me, all exhaustive tests pass, and the performance increased a lot:

  zimmerma at tomate:~/svn/core-math$ LIBM=/users/zimmerma/svn/core-math/libllvmlibc.a ./perf.sh expf
  21.594
  10.968
  51.286
  zimmerma at tomate:~/svn/core-math$ LIBM=/tmp/libllvmlibc.a ./perf.sh expf
  21.596
  10.966
  16.997

The first run is with the previous version, the second one with the new version. The last timing is the one for llvm-libc, the first one for core-math, and the 2nd one for the GNU libc (not CR).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D122418



More information about the libc-commits mailing list