[libc-commits] [libc] [libc] Add missing math definitions for round and scal for GPU (PR #104636)
via libc-commits
libc-commits at lists.llvm.org
Fri Aug 16 12:41:11 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-libc
Author: Joseph Huber (jhuber6)
<details>
<summary>Changes</summary>
Summary:
These can be enabled
---
Full diff: https://github.com/llvm/llvm-project/pull/104636.diff
1 Files Affected:
- (modified) libc/config/gpu/entrypoints.txt (+4-1)
``````````diff
diff --git a/libc/config/gpu/entrypoints.txt b/libc/config/gpu/entrypoints.txt
index 9ead5aa92d5a92..bbae3298fae615 100644
--- a/libc/config/gpu/entrypoints.txt
+++ b/libc/config/gpu/entrypoints.txt
@@ -425,13 +425,15 @@ set(TARGET_LIBM_ENTRYPOINTS
libc.src.math.rint
libc.src.math.rintf
libc.src.math.rintl
- libc.src.math.round
libc.src.math.roundeven
libc.src.math.roundevenf
libc.src.math.roundevenl
+ libc.src.math.round
libc.src.math.roundf
+ libc.src.math.roundl
libc.src.math.scalbln
libc.src.math.scalblnf
+ libc.src.math.scalblnl
libc.src.math.scalbn
libc.src.math.scalbnf
libc.src.math.scalbnl
@@ -459,6 +461,7 @@ set(TARGET_LIBM_ENTRYPOINTS
libc.src.math.tgammaf
libc.src.math.totalorder
libc.src.math.totalorderf
+ libc.src.math.totalorderl
libc.src.math.totalordermag
libc.src.math.totalordermagf
libc.src.math.totalordermagl
``````````
</details>
https://github.com/llvm/llvm-project/pull/104636
More information about the libc-commits
mailing list