[all-commits] [llvm/llvm-project] 546c9b: [libc] Add math functions to AMD/NVPTX libm
Ethan Luis McDonough via All-commits
all-commits at lists.llvm.org
Wed Jul 26 01:02:28 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 546c9b3f6a5463460ea19b4722961aa36a191017
https://github.com/llvm/llvm-project/commit/546c9b3f6a5463460ea19b4722961aa36a191017
Author: Ethan Luis McDonough <ethanluismcdonough at gmail.com>
Date: 2023-07-26 (Wed, 26 Jul 2023)
Changed paths:
M libc/config/gpu/entrypoints.txt
M libc/src/math/CMakeLists.txt
A libc/src/math/cosh.h
M libc/src/math/gpu/CMakeLists.txt
A libc/src/math/gpu/ceil.cpp
A libc/src/math/gpu/ceilf.cpp
A libc/src/math/gpu/copysign.cpp
A libc/src/math/gpu/copysignf.cpp
A libc/src/math/gpu/fabs.cpp
A libc/src/math/gpu/fabsf.cpp
A libc/src/math/gpu/floor.cpp
A libc/src/math/gpu/floorf.cpp
A libc/src/math/gpu/fma.cpp
A libc/src/math/gpu/fmaf.cpp
A libc/src/math/gpu/fmax.cpp
A libc/src/math/gpu/fmaxf.cpp
A libc/src/math/gpu/fmin.cpp
A libc/src/math/gpu/fminf.cpp
A libc/src/math/gpu/fmod.cpp
A libc/src/math/gpu/fmodf.cpp
A libc/src/math/gpu/frexp.cpp
A libc/src/math/gpu/frexpf.cpp
M libc/src/math/gpu/vendor/CMakeLists.txt
A libc/src/math/gpu/vendor/acosf.cpp
A libc/src/math/gpu/vendor/acoshf.cpp
M libc/src/math/gpu/vendor/amdgpu/amdgpu.h
M libc/src/math/gpu/vendor/amdgpu/declarations.h
A libc/src/math/gpu/vendor/asinf.cpp
A libc/src/math/gpu/vendor/asinhf.cpp
A libc/src/math/gpu/vendor/atanf.cpp
A libc/src/math/gpu/vendor/atanhf.cpp
A libc/src/math/gpu/vendor/cos.cpp
A libc/src/math/gpu/vendor/cosf.cpp
A libc/src/math/gpu/vendor/cosh.cpp
A libc/src/math/gpu/vendor/coshf.cpp
A libc/src/math/gpu/vendor/exp10f.cpp
A libc/src/math/gpu/vendor/exp2f.cpp
A libc/src/math/gpu/vendor/expf.cpp
A libc/src/math/gpu/vendor/expm1f.cpp
A libc/src/math/gpu/vendor/fdim.cpp
A libc/src/math/gpu/vendor/fdimf.cpp
A libc/src/math/gpu/vendor/hypot.cpp
A libc/src/math/gpu/vendor/hypotf.cpp
A libc/src/math/gpu/vendor/ilogb.cpp
A libc/src/math/gpu/vendor/ilogbf.cpp
A libc/src/math/gpu/vendor/ldexp.cpp
A libc/src/math/gpu/vendor/ldexpf.cpp
A libc/src/math/gpu/vendor/llrint.cpp
A libc/src/math/gpu/vendor/llrintf.cpp
A libc/src/math/gpu/vendor/llround.cpp
A libc/src/math/gpu/vendor/llroundf.cpp
M libc/src/math/gpu/vendor/nvptx/declarations.h
M libc/src/math/gpu/vendor/nvptx/nvptx.h
A libc/src/math/gpu/vendor/pow.cpp
A libc/src/math/gpu/vendor/powf.cpp
A libc/src/math/pow.h
A libc/src/math/powf.h
Log Message:
-----------
[libc] Add math functions to AMD/NVPTX libm
Related to D152486. The following functions are included in this revision: `acosf`, `acoshf`, `asinf`, `asinhf`, `atanf`, `atanhf`, `ceil`, `ceilf`, `copysign`, `copysignf`, `cos`, `cosf`, `cosh`, `coshf`, `exp10f`, `exp2f`, `expf`, `expm1f`, `fabs`, `fabsf`, `fdim`, `fdimf`, `floor`, `floorf`, `fma`, `fmaf`, `fmax`, `fmaxf`, `fmin`, `fminf`, `fmod`, `fmodf`, `frexp`, `frexpf`, `hypot`, `hypotf`, `ilogb`, `ilogbf`, `ldexp`, `ldexpf`, `llrint`, `llrintf`, `llround`, `llroundf`, `pow`, and `powf`.
Reviewed By: jhuber6
Differential Revision: https://reviews.llvm.org/D152603
More information about the All-commits
mailing list