[libc-commits] [PATCH] D152603: [libc] Add math functions to AMD/NVPTX libm

Ethan Luis McDonough via Phabricator via libc-commits libc-commits at lists.llvm.org
Thu Jun 22 14:10:23 PDT 2023


elmcdonough updated this revision to Diff 533774.
elmcdonough edited the summary of this revision.
elmcdonough added a comment.

Removed long double functions and replaced some vendor functions with in-progress intrinsics.  `pow`, `powf`, and `cosh` were also added.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D152603

Files:
  libc/config/gpu/entrypoints.txt
  libc/src/math/CMakeLists.txt
  libc/src/math/cosh.h
  libc/src/math/gpu/CMakeLists.txt
  libc/src/math/gpu/ceil.cpp
  libc/src/math/gpu/ceilf.cpp
  libc/src/math/gpu/copysign.cpp
  libc/src/math/gpu/copysignf.cpp
  libc/src/math/gpu/fabs.cpp
  libc/src/math/gpu/fabsf.cpp
  libc/src/math/gpu/floor.cpp
  libc/src/math/gpu/floorf.cpp
  libc/src/math/gpu/fma.cpp
  libc/src/math/gpu/fmaf.cpp
  libc/src/math/gpu/fmax.cpp
  libc/src/math/gpu/fmaxf.cpp
  libc/src/math/gpu/fmin.cpp
  libc/src/math/gpu/fminf.cpp
  libc/src/math/gpu/fmod.cpp
  libc/src/math/gpu/fmodf.cpp
  libc/src/math/gpu/frexp.cpp
  libc/src/math/gpu/frexpf.cpp
  libc/src/math/gpu/vendor/CMakeLists.txt
  libc/src/math/gpu/vendor/acosf.cpp
  libc/src/math/gpu/vendor/acoshf.cpp
  libc/src/math/gpu/vendor/amdgpu/amdgpu.h
  libc/src/math/gpu/vendor/amdgpu/declarations.h
  libc/src/math/gpu/vendor/asinf.cpp
  libc/src/math/gpu/vendor/asinhf.cpp
  libc/src/math/gpu/vendor/atanf.cpp
  libc/src/math/gpu/vendor/atanhf.cpp
  libc/src/math/gpu/vendor/cos.cpp
  libc/src/math/gpu/vendor/cosf.cpp
  libc/src/math/gpu/vendor/cosh.cpp
  libc/src/math/gpu/vendor/coshf.cpp
  libc/src/math/gpu/vendor/exp10f.cpp
  libc/src/math/gpu/vendor/exp2f.cpp
  libc/src/math/gpu/vendor/expf.cpp
  libc/src/math/gpu/vendor/expm1f.cpp
  libc/src/math/gpu/vendor/fdim.cpp
  libc/src/math/gpu/vendor/fdimf.cpp
  libc/src/math/gpu/vendor/hypot.cpp
  libc/src/math/gpu/vendor/hypotf.cpp
  libc/src/math/gpu/vendor/ilogb.cpp
  libc/src/math/gpu/vendor/ilogbf.cpp
  libc/src/math/gpu/vendor/ldexp.cpp
  libc/src/math/gpu/vendor/ldexpf.cpp
  libc/src/math/gpu/vendor/llrint.cpp
  libc/src/math/gpu/vendor/llrintf.cpp
  libc/src/math/gpu/vendor/llround.cpp
  libc/src/math/gpu/vendor/llroundf.cpp
  libc/src/math/gpu/vendor/nvptx/declarations.h
  libc/src/math/gpu/vendor/nvptx/nvptx.h
  libc/src/math/gpu/vendor/pow.cpp
  libc/src/math/gpu/vendor/powf.cpp
  libc/src/math/pow.h
  libc/src/math/powf.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152603.533774.patch
Type: text/x-patch
Size: 66485 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230622/62de0cad/attachment-0001.bin>


More information about the libc-commits mailing list