[libc-commits] [libc] [libc] Enable the `acoshf` math function on AMD GPUs (PR #152157)
Leandro Lacerda via libc-commits
libc-commits at lists.llvm.org
Tue Aug 5 08:16:53 PDT 2025
https://github.com/leandrolcampos created https://github.com/llvm/llvm-project/pull/152157
This patch adds the `acoshf` math function to the AMDGPU build.
>From 041cb2f01125a18efcd15ab82970ff0ebcae4152 Mon Sep 17 00:00:00 2001
From: Leandro Augusto Lacerda Campos <leandrolcampos at yahoo.com.br>
Date: Tue, 5 Aug 2025 12:11:50 -0300
Subject: [PATCH] Enable the `acoshf` math function on AMD GPUs
---
libc/config/gpu/amdgpu/entrypoints.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/libc/config/gpu/amdgpu/entrypoints.txt b/libc/config/gpu/amdgpu/entrypoints.txt
index 291a2d01db5b6..cf2b8c6a55878 100644
--- a/libc/config/gpu/amdgpu/entrypoints.txt
+++ b/libc/config/gpu/amdgpu/entrypoints.txt
@@ -282,6 +282,7 @@ set(TARGET_LIBM_ENTRYPOINTS
# math.h entrypoints
libc.src.math.acos
libc.src.math.acosf
+ libc.src.math.acoshf
libc.src.math.asin
libc.src.math.asinf
libc.src.math.asinhf
More information about the libc-commits
mailing list