[libc-commits] [libc] 53fcf6b - [libc][aarch64] Enable a bunch of math functions.
Siva Chandra via libc-commits
libc-commits at lists.llvm.org
Fri Feb 5 15:14:32 PST 2021
Author: Siva Chandra
Date: 2021-02-05T15:11:17-08:00
New Revision: 53fcf6bb62714c2bcba76d763f516be451a71b76
URL: https://github.com/llvm/llvm-project/commit/53fcf6bb62714c2bcba76d763f516be451a71b76
DIFF: https://github.com/llvm/llvm-project/commit/53fcf6bb62714c2bcba76d763f516be451a71b76.diff
LOG: [libc][aarch64] Enable a bunch of math functions.
Namely, these are the functions enabled: rint*, lrint*, llrint*, lround*,
llround*, nearbyint*. They were previously not enabled because they
required rounding mode and FP exception support. Now that rounding mode
and FP exception support is available for Aarch64, they can be enabled.
Added:
Modified:
libc/config/linux/aarch64/entrypoints.txt
Removed:
################################################################################
diff --git a/libc/config/linux/aarch64/entrypoints.txt b/libc/config/linux/aarch64/entrypoints.txt
index ca7252b17e64..17cbd84078fa 100644
--- a/libc/config/linux/aarch64/entrypoints.txt
+++ b/libc/config/linux/aarch64/entrypoints.txt
@@ -90,6 +90,18 @@ set(TARGET_LIBM_ENTRYPOINTS
libc.src.math.ilogb
libc.src.math.ilogbf
libc.src.math.ilogbl
+ libc.src.math.llrint
+ libc.src.math.llrintf
+ libc.src.math.llrintl
+ libc.src.math.llround
+ libc.src.math.llroundf
+ libc.src.math.llroundl
+ libc.src.math.lrint
+ libc.src.math.lrintf
+ libc.src.math.lrintl
+ libc.src.math.lround
+ libc.src.math.lroundf
+ libc.src.math.lroundl
libc.src.math.ldexp
libc.src.math.ldexpf
libc.src.math.ldexpl
@@ -99,6 +111,9 @@ set(TARGET_LIBM_ENTRYPOINTS
libc.src.math.modf
libc.src.math.modff
libc.src.math.modfl
+ libc.src.math.nearbyint
+ libc.src.math.nearbyintf
+ libc.src.math.nearbyintl
libc.src.math.nextafter
libc.src.math.nextafterf
libc.src.math.nextafterl
@@ -108,6 +123,9 @@ set(TARGET_LIBM_ENTRYPOINTS
libc.src.math.remquof
libc.src.math.remquo
libc.src.math.remquol
+ libc.src.math.rint
+ libc.src.math.rintf
+ libc.src.math.rintl
libc.src.math.round
libc.src.math.roundf
libc.src.math.roundl
More information about the libc-commits
mailing list